Last active
June 20, 2021 09:24
-
-
Save atarp/279a8133b4b6a8bc95d5a8f311f2fde1 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
# encrypt file to_encrypt with simple ecb mode | |
openssl enc -in to_encrypt -out encrypted -e -aes-256-ecb \ | |
-K 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f | |
# decrypt the file encrypted | |
openssl enc -in encrypted -out restored -d -aes-256-ecb \ | |
-K 000102030405060708090a0b0c0d0e0f101112131415161718191a1b1c1d1e1f |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment