Basic ssl encryption

From wikipost
Revision as of 23:01, 7 April 2015 by Admin (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Basic information on SSL encryption


[1] http://www.openssl.org/


Required libraries for Windows:

(Some may libraries may not be detected by the Windows installer binary)

[2] Microsoft Visual C++ 2008 SP1 Redistributable Package (x86)

[3] Microsoft Visual C++ 2008 SP1 Redistributable Package (x64)


Examples:

- encrypt a file using base64 encoding (using -a or -base64 switch):

openssl enc -aes-256-cbc -a -salt -in file.dec -out file.enc



- decrypt a base64-encoded file:

openssl enc -d -aes-256-cbc -a -in file.enc -out file.dec