summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'main.cpp')
-rw-r--r--main.cpp16
1 files changed, 14 insertions, 2 deletions
diff --git a/main.cpp b/main.cpp
index cb3bf44..fc3b22a 100644
--- a/main.cpp
+++ b/main.cpp
@@ -15,9 +15,21 @@ void aff(std::string chaine);
//----- Program Start -----
int main(){
- HASHCrypt hash= HASHCrypt("Chaine de test");
- aff(hash.getMD5_128());
+
+
+
+
+ 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];
+ }
+
return 0;