Classe HASHCrypt totalement revue et pensée.

This commit is contained in:
Loic GUEGAN 2015-03-07 19:59:15 +04:00
parent 80261321e8
commit bbfdf67777
3 changed files with 81 additions and 56 deletions

View file

@ -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;