summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp12
1 files changed, 11 insertions, 1 deletions
diff --git a/main.cpp b/main.cpp
index b65d5ba..7a218d0 100644
--- a/main.cpp
+++ b/main.cpp
@@ -33,8 +33,18 @@
*/
int main(int argc, char *argv[]){
+ std::string chaine="It's work !";
+
+ AESCrypt aes;
+
+ chaine=aes.encrypt("loic", chaine);
+
+ std::cout << chaine << std::endl;
+
+ chaine=aes.decrypt("loic", chaine);
+
+ std::cout << chaine << std::endl;
- std::cout << "It's work !" << std::endl;
return 0;