# For 256 CBC
openssl enc -aes-256-cbc -k MySuperSecretPassPhrase -P -md sha1
The above code will generate this result (Make sure you set your MySuperSecretPassPhrase to something unique)
salt=9286F768BE82A5DB
key=30EF28D3A84CA1F0B24BBA23C329ECAE4445B6D61EF2EB43AEB6560096D4291D
iv =FE2AB00F0B81EEA78F789980ACE6CAE3
Originally Posted on October 21, 2015
Last Updated on October 26, 2015
All information on this site is shared with the intention to help. Before any source code or program is ran on a production (non-development) system it is suggested you test it and fully understand what it is doing not just what it appears it is doing. I accept no responsibility for any damage you may do with this code.
Related