<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html><body style='font-family: Verdana,Geneva,sans-serif'>
<p>Hi,</p>
<p>I want to make a write an app that will encrypt/decrypt files using the OpenSSL's crypto libraries.</p>
<p>Actually i can encrypt files using system() with the command line (and VARIABLES) :</p>
<p>"/usr/bin/openssl enc -aes-256-cbc -salt -in FILENAME -out FILENAME_ENC -pass pass:HASH"</p>
<p>and decrypt file using : </p>
<p>"/usr/bin/openssl enc -aes-256-cbc -d -in FILENAME_ENC -out FILENAME -pass pass:HASH"</p>
<p>I read this : https://wiki.openssl.org/index.php/EVP_Symmetric_Encryption_and_Decryption</p>
<p>But i don't know where to start... Does anyone can help me ?</p>
<p>Thank you very much for your replies.</p>
<p> </p>
<p>Cheers,</p>
<p>Wesley</p>
<div> </div>
</body></html>