aes/readme.md

23 lines
740 B
Markdown
Raw Normal View History

# this repository contains 3 Main :
2016-03-07 09:43:54 +00:00
- crypto.ex use for test ( take a file, crypt and decrypt this file in one step )
products a crypted and decrypted file.
- crypt.ex : allow to crypt a file with aes algorithms
./crypt.ex <FileToCrypt>
products the crypted file and a json file which contain aes key and aes IV key.
- decrypt.ex : allow to uncrypt a file from a crypted file and a json key file.
./decrypt.ex <FileToDecrypt> <aesKeyFile>
products the uncrypted file.
:smiley:
## requirements
this program required jsoncpp : https://github.com/open-source-parsers/jsoncpp
> archlinux setup : `pacman -S jsoncpp`
gcc lib flag are retrieve thanks to [pkg-config](https://people.freedesktop.org/~dbn/pkg-config-guide.html) tool