Encrypt and decrypt files
Jump to navigation
Jump to search
OpenSSL
- Encrypt file (
openssl enc
):
openssl enc -aes-256-cbc -in un_encrypted.data -out encrypted.data
- Use
file
command to verify file type.
file encrypted.data encrypted.data: openssl enc'd data with salted password
- Decrypt file (
openssl enc -d
):
openssl enc -d -aes-256-cbc -in encrypted.data -out un_encrypted.data
See also
Advertising: