summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authormanzerbredes <loic.guegan_secondary@yahoo.fr>2015-03-09 12:51:23 +0400
committermanzerbredes <loic.guegan_secondary@yahoo.fr>2015-03-09 12:51:23 +0400
commit7d2c4734224eb7f6cf699bc84f505c06c4394b35 (patch)
tree070330590915595ec740acfeea5a92c742f427fb /main.cpp
parent1574c191c3a6909e2b932fb32d6c63dc89e264b1 (diff)
AES first release. Add method to HASHCrypt class.
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp29
1 files changed, 2 insertions, 27 deletions
diff --git a/main.cpp b/main.cpp
index 45f62de..b65d5ba 100644
--- a/main.cpp
+++ b/main.cpp
@@ -17,13 +17,10 @@
#include <string>
//----- class -----
+#include "CryptClass/AESCrypt.hpp"
#include "CryptClass/HASHCrypt.hpp"
-//----- Prototype -----
-void aff(std::string chaine);
-
-
/**
@@ -37,30 +34,8 @@ void aff(std::string chaine);
int main(int argc, char *argv[]){
-
-
-
-
- HASHCrypt hash= HASHCrypt();
-
- byte code[16];
-
- hash.getMD5_128("Phrase de test !", code, sizeof(code));
-
- for(int i=0; i<16;i++){
- std::cout << code[i];
- }
-
+ std::cout << "It's work !" << std::endl;
return 0;
}
-
-
-
-
-//---- Functions -----
-
-void aff(std::string chaine){
- std::cout << chaine;
-}