summaryrefslogtreecommitdiff
path: root/main.cpp
diff options
context:
space:
mode:
authorLoic GUEGAN <loic@debian>2015-03-07 19:59:15 +0400
committerLoic GUEGAN <loic@debian>2015-03-07 19:59:15 +0400
commitbbfdf67777b9f78bdd5592b863d93b0448ce2fd3 (patch)
tree2eb8d268fbdd24288101653036c3c2dfd6ad0eb6 /main.cpp
parent80261321e887e2d8ffb71173a517f4e50c8ce93a (diff)
Classe HASHCrypt totalement revue et pensée.
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;