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: 2024/cryptography/numbers-go-brrr.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -50,7 +50,7 @@ print("Here is the encrypted flag:", encrypt(flag.encode()))
50
50
51
51
This encryption service provides the encrypted flag if we type `1` and encrypts a message if we type `2`. Encryption is done using AES in ECB mode with a random key generated from a seed.
52
52
53
-
##Solving
53
+
##Solving
54
54
55
55
We can easily solve this task by brute-forcing the seed and decrypting the flag. We can do this by connecting to the service and getting the encrypted flag. We can then bruteforce the seed and decrypt the flag. Since the seed is generated randomly from 0 to 10^6, we can brute force it in a reasonable time.
0 commit comments