Encrypt/Decrypt files using openssl's crypto libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 

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>


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux