Encrypt File
Encrypt/decrypt file
$ date > date.file
$ openssl aes-256-cbc -in date.file -out date.file.crypt
enter AES-256-CBC encryption password:
Verifying - enter AES-256-CBC encryption password:
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
$ cat date.file.crypt
Salted__�)�w��mx�j��ar�j�$���ɭ(�T�e/i�u�^�
$ openssl aes-256-cbc -d -in date.file.crypt -out date.file.decrypt
enter AES-256-CBC decryption password:
*** WARNING : deprecated key derivation used.
Using -iter or -pbkdf2 would be better.
$ cat date.file.decrypt
ter 09 mai 2023 16:30:39 -03