You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: 05/log.txt
+22-1Lines changed: 22 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -15,4 +15,25 @@ In this example, after continuing this search a total of eight times, the passwo
15
15
16
16
Given the actual Door ID, what is the password?
17
17
18
-
Your puzzle input is wtnhxymk.
18
+
Your puzzle answer was 2414bc77.
19
+
20
+
The first half of this puzzle is complete! It provides one gold star: *
21
+
22
+
--- Part Two ---
23
+
24
+
As the door slides open, you are presented with a second door that uses a slightly more inspired security mechanism. Clearly unimpressed by the last version (in what movie is the password decrypted in order?!), the Easter Bunny engineers have worked out a better solution.
25
+
26
+
Instead of simply filling in the password from left to right, the hash now also indicates the position within the password to fill. You still look for hashes that begin with five zeroes; however, now, the sixth character represents the position (0-7), and the seventh character is the character to put in that position.
27
+
28
+
A hash result of 000001f means that f is the second character in the password. Use only the first result for each position, and ignore invalid positions.
29
+
30
+
For example, if the Door ID is abc:
31
+
32
+
The first interesting hash is from abc3231929, which produces 0000015...; so, 5 goes in position 1: _5______.
33
+
In the previous method, 5017308 produced an interesting hash; however, it is ignored, because it specifies an invalid position (8).
34
+
The second interesting hash is at index 5357525, which produces 000004e...; so, e goes in position 4: _5__e___.
35
+
You almost choke on your popcorn as the final character falls into place, producing the password 05ace8e3.
36
+
37
+
Given the actual Door ID and this new method, what is the password? Be extra proud of your solution if it uses a cinematic "decrypting" animation.
0 commit comments