Created
May 1, 2023 19:23
-
-
Save kamaci/20047984a4cf56fa02902f53ae351c39 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for index, perm in enumerate(permutations([0, 1, 2, 3, 4, 5])): | |
permutation_cipher = PermutationCipher(perm) | |
if permutation_cipher.decrypt(cipher_of_cipher_data) == trimmed_cipher_data: | |
print(f"Found at epoch: {index}. Result is: {perm}") | |
break | |
index += 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment