Difference between revisions of "AES"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 9: | Line 9: | ||
:<code>[[openssl enc]] -[[aes-256]]-[[cbc]] -in un_encrypted.data -out encrypted.data</code> | :<code>[[openssl enc]] -[[aes-256]]-[[cbc]] -in un_encrypted.data -out encrypted.data</code> | ||
− | :Use <code>[[file]]</code> command to verify file type. | + | :Use <code>[[file (command)|file]]</code> command to verify file type. |
[[file]] encrypted.data | [[file]] encrypted.data | ||
encrypted.data: openssl enc'd data with salted password | encrypted.data: openssl enc'd data with salted password |
Revision as of 11:52, 16 July 2020
wikipedia:Advanced Encryption Standard
AES-XTS
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
Related terms
See also
Advertising: