blob: fc3b22a1c45706000ac31d9749a6e2371fef70f4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
//----- Includes std -----
#include <iostream>
#include <string>
//----- Includes personnal Class -----
#include "CryptClass/HASHCrypt.hpp"
//----- Prototype -----
void aff(std::string chaine);
//----- Program Start -----
int main(){
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;
}
//---- Functions -----
void aff(std::string chaine){
std::cout << chaine;
}
|