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 8: Line 8:
 
* [[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.
+
 
<pre>
+
Use <code>[[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
</pre>
 
  
 
* [[Decrypt]] file (<code>openssl enc -d</code>):  
 
* [[Decrypt]] file (<code>openssl enc -d</code>):  

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: