Christmas Tree Hash
100 points Hard

As Christmas approaches, Adam decides that he wants to improve his network security. He is inspired by the nearly identical Christmas Trees in his office with the only difference being the number on the star on top, and writes a hash function to generate a key. His instructions are found here: https://mega.nz/#!vawiwIBL!MNh3kyh12f_V8xtpHVCiBz5svr7Npvdhu6uzUkS08Tg - The trees in Adam's office can be found here (your input): https://mega.nz/#!PGw2SCDZ!yzI2DCX0ut-TR5WBDX2x_aqtNQezg9WTGcxcmHlNJNs - What is the encryption key generated by Adam's Christmas Tree Hash function?

Flag
Rating 4.56
5
4
3
2
1

Discussion

365^5 + 52^10 + 7^20 where this came from?

0

Poorly explained from step 6 onwards.

1

kinda complex but Its was fun lol

0

remeber there is a "-" before the new value ;).

0

most of the difficulty of this CTF comes from understanding the instructions (not joking, you have to read the author's mind sometimes, heh)

there's a typo, in the line:<br /> 365^5 + 52^10 + 7^20 - 457981573849226022<br /> the minus was meant to be a plus:<br /> 365^5 + 52^10 + 7^20 + 457981573849226022

0

Any hint about step 7 - how to convert -682335424444623097 to uehcysuxjh? I've already tried several conversions of -682335424444623097 to other values

0

never mind - I've found how to convert

0

243

0

That was a fun programming challenge! Also, that flag made me do a double take and then made me laugh pretty hard, lmao. Thanks for the challenge!

0

Step 6 (line 34 of text1.txt) is confusing, the value you should be subtracting is 365^5 + 52^10 + 7^20 + 457981573849226022 (notice the last plus sign instead of the minus). Otherwise, good job.

1