Page 1 of 1

AES File Encryption Library & Sample

Posted: Fri Jan 27, 2012 9:45 pm
by Rathinagiri
Hi,

I am glad to attach a library for AES File Encryption along with a demo to encrypt/decrypt a file using password. This library is based on PolarSSL

Extract the contents in your HMG 3.0.40 directory. A directory in the name of 'aes' will be created which contains the source and sample subdirectories.

You can call the following function for crypt/decrypting a file:

CryptFileAES( cFileIn, cFileOut, cPassword, nMode )

nMode = 0 (For Encryption)
nMode = 1 (For Decryption)
cPassword can be either a character string or a key filename also!

Please give your comments.
aes.jpg
aes.jpg (21.71 KiB) Viewed 5245 times
aes.zip
(53.51 KiB) Downloaded 659 times

Re: AES File Encryption Library & Sample

Posted: Fri Jan 27, 2012 10:55 pm
by esgici
Hi Rathi

Perfect :!: ( as always ) 8-)

Thanks a lot :)

Regards

--

Esgici

Re: AES File Encryption Library & Sample

Posted: Sat Jan 28, 2012 3:23 am
by fchirico
Thanks rathinagiri!

very interesting.

Re: AES File Encryption Library & Sample

Posted: Sat Jan 28, 2012 7:53 pm
by salamandra
;) Thanks a lot rathi, it is perfect


[]´s Salamandra