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
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

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