Difference between revisions of "AES"
Jump to navigation
Jump to search
Tags: Mobile web edit, Mobile edit |
Tags: Mobile web edit, Mobile edit |
||
Line 2: | Line 2: | ||
AES-XTS | AES-XTS | ||
+ | |||
+ | |||
+ | == [[OpenSSL]] == | ||
+ | |||
+ | * [[Encrypt]] file (<code>openssl enc</code>): | ||
+ | :<code>openssl enc -[[aes-256]]-cbc -in un_encrypted.data -out encrypted.data</code> | ||
+ | : Use <code>[[file]]</code> command to verify file type. | ||
+ | <pre> | ||
+ | file encrypted.data | ||
+ | encrypted.data: openssl enc'd data with salted password | ||
+ | </pre> | ||
+ | |||
+ | * [[Decrypt]] file (<code>openssl enc -d</code>): | ||
+ | :<code>openssl enc -d -aes-256-cbc -in encrypted.data -out un_encrypted.data</code> | ||
+ | |||
== See also == | == See also == |
Revision as of 18:14, 27 March 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
See also
Advertising: