Created
September 13, 2019 10:41
-
-
Save miladhub/8f42702eddc5f53b6af9530f667ffceb to your computer and use it in GitHub Desktop.
openssl encrypt / decrypt
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
$ echo "foobar" | openssl enc -aes-256-cbc -e -a -salt -k foobar | |
U2FsdGVkX1+CaU92AZ1/LHNEe3rdU0EV3/AImqzYmWg= | |
$ echo U2FsdGVkX1+CaU92AZ1/LHNEe3rdU0EV3/AImqzYmWg= | openssl enc -aes-256-cbc -d -a -k foobar | |
foobar |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment