

0 / 2 embers
0 / 3000 xp
click for more info
Complete a lesson to start your streak
click for more info
Difficulty: 5
click for more info
Not enough gems
Cost: 6 gems
1: Alphabet Formula
incomplete
2: Brute Force Attacks
incomplete
3: Crack an Insecure Key
incomplete
4: Entropy
incomplete
This lesson's interactive features are locked, please to keep using them
At Passly we practice Cryptanalysis, meaning that we try to break our own encryption algorithms. We do this to make sure that our encryption is secure!
Complete the findKey function. It accepts the encrypted and decrypted versions of messages as arguments. It should return the key that was used to encrypt the password.
If a key is found, return it and a nil error. Otherwise, return an empty byte slice and an error that reads key not found.
0 to 2^24.intToBytes function.encrypted message using the current key and the crypt function.Keep in mind, this code might take a while to run, after all, you're brute forcing 24 bits of data!