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 File Encryption Library & Sample
Moderator: Rathinagiri
- Rathinagiri
- Posts: 5471
- Joined: Tue Jul 29, 2008 6:30 pm
- DBs Used: MariaDB, SQLite, SQLCipher and MySQL
- Location: Sivakasi, India
- Contact:
AES File Encryption Library & Sample
East or West HMG is the Best.
South or North HMG is worth.
...the possibilities are endless.
South or North HMG is worth.
...the possibilities are endless.
- esgici
- Posts: 4543
- Joined: Wed Jul 30, 2008 9:17 pm
- DBs Used: DBF
- Location: iskenderun / Turkiye
- Contact:
Re: AES File Encryption Library & Sample
Hi Rathi
Perfect
( as always )
Thanks a lot![Smile :)](./images/smilies/icon_e_smile.gif)
Regards
--
Esgici
Perfect
![Exclamation :!:](./images/smilies/icon_exclaim.gif)
![Cool 8-)](./images/smilies/icon_cool.gif)
Thanks a lot
![Smile :)](./images/smilies/icon_e_smile.gif)
Regards
--
Esgici
Viva INTERNATIONAL HMG ![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
![Very Happy :D](./images/smilies/icon_e_biggrin.gif)
Re: AES File Encryption Library & Sample
Thanks rathinagiri!
very interesting.
very interesting.
Saludos, Fernando Chirico.
- salamandra
- Posts: 311
- Joined: Thu Jul 31, 2008 8:33 pm
- DBs Used: DBF, MySQL, SQL
- Location: Brazil
Re: AES File Encryption Library & Sample
![Wink ;)](./images/smilies/icon_e_wink.gif)
[]´s Salamandra
There is one time in which is crucial awakening. That time is now. ( Buddha )