r/adventofcode • • Dec 05 '16

SOLUTION MEGATHREAD --- 2016 Day 5 Solutions ---

--- Day 5: How About a Nice Game of Chess? ---

Post your solution as a comment or, for longer solutions, consider linking to your repo (e.g. GitHub/gists/Pastebin/blag/whatever).


STAYING ON TARGET IS MANDATORY [?]

This thread will be unlocked when there are a significant number of people on the leaderboard with gold stars for today's puzzle.

edit: Leaderboard capped, thread unlocked!

14 Upvotes

188 comments sorted by

View all comments

Show parent comment

3

u/balidani Dec 05 '16

In password hashing they call randomly generated tokens that you can prepend or append to a password a salt. Although this is not password hashing the name feels fitting.

2

u/Joe_Shlabotnik Dec 05 '16

Oh goddammit, I was just an idiot -- I got distracted by the use of "salt" as the name of the string and thought you were salting the input for some reason I couldn't figure out. Didn't even notice that it was the only input. Gah. :embarrassed face: