2020-04-29 19:12:09 +00:00
|
|
|
# this repository contains 3 Main :
|
2020-04-27 00:46:05 +00:00
|
|
|
|
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.
|
2020-04-27 00:46:05 +00:00
|
|
|
|
|
|
|
:smiley:
|
2020-05-17 18:11:02 +00:00
|
|
|
|
|
|
|
## requirements
|
|
|
|
|
2020-05-17 18:28:03 +00:00
|
|
|
* this program required jsoncpp : https://github.com/open-source-parsers/jsoncpp
|
2020-05-17 18:11:02 +00:00
|
|
|
|
|
|
|
> archlinux setup : `pacman -S jsoncpp`
|
|
|
|
|
2020-05-17 18:28:03 +00:00
|
|
|
* gcc lib flag are retrieve thanks to [pkg-config](https://people.freedesktop.org/~dbn/pkg-config-guide.html) tool
|
|
|
|
|
|
|
|
* cpp documentation is generated thanks to [doxygen](http://www.doxygen.nl/manual/doxygen_usage.html)
|
|
|
|
|
|
|
|
> use make doc to generate doxygen documentation
|