[openssl-users] Encrypt/Decrypt files using openssl's crypto libraries

Wesley openssl at aise.re
Sun Feb 7 14:43:50 UTC 2016


 

Hi, 

I want to make a write an app that will encrypt/decrypt files
using the OpenSSL's crypto libraries. 

Actually i can encrypt files
using system() with the command line (and VARIABLES) :


"/usr/bin/openssl enc -aes-256-cbc -salt -in FILENAME -out
FILENAME_ENC -pass pass:HASH" 

and decrypt file using :


"/usr/bin/openssl enc -aes-256-cbc -d -in FILENAME_ENC -out FILENAME
-pass pass:HASH" 

I read this :
https://wiki.openssl.org/index.php/EVP_Symmetric_Encryption_and_Decryption


But i don't know where to start... Does anyone can help me ? 

Thank
you very much for your replies. 

Cheers, 

Wesley 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mta.openssl.org/pipermail/openssl-users/attachments/20160207/d40cf631/attachment.html>


More information about the openssl-users mailing list