Difference between revisions of "AES"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 7: Line 7:
  
 
* [[Encrypt]] file (<code>openssl enc</code>):   
 
* [[Encrypt]] file (<code>openssl enc</code>):   
:<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]]</code> command to verify file type.
 
<pre>
 
<pre>

Revision as of 11:51, 16 July 2020

wikipedia:Advanced Encryption Standard

AES-XTS


OpenSSL

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
openssl enc -d -aes-256-cbc -in encrypted.data -out un_encrypted.data

Related terms


See also

Advertising: