Forum Discussion
Modern Encryption: Demonstrate Your Skills
- 3 months ago
Hi Dark_Knight666, I also struggled on this one. You need to change the -a to -e and -salt to -nosalt (see full command below)
openssl enc -aes-256-cbc -e -pbkdf2 -nosalt -in plaintext_1.txt -out plaintext_1.enc
Dark_Knight666 The -e is for encryption and the -nosalt is to disable the salt function. I'm not exactly sure why this works, however for one of the earlier labs in the module ("Modern Encryption: Symmetric vs Asymmetric Key Encryption") it has the same commands but with -d for -decrypt so is just utilising the commands from this module and flipping it to be used for encryption rather than decryption.
cf123 - I am so sorry for the late reply. I just saw your message today and thank you for your advice. Sorry If I may have not grasped what you said, but Q7 is asking to Decrypt the file - encrypted_file_3DES.enc as it's already Encrypted?
- SamDickison18 days ago
Community Manager
darkmacheken cf123 is it about swapping the -a for -e?