switch to header file
This commit is contained in:
parent
73e9c6786f
commit
77755b5cb3
@ -1,3 +1,5 @@
|
||||
#pragma once
|
||||
|
||||
#include <iostream>
|
||||
#include <iomanip>
|
||||
#include <string>
|
||||
@ -124,15 +126,3 @@ public:
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
int main() {
|
||||
MD5 md5;
|
||||
|
||||
std::cout << md5.hash("") << std::endl;
|
||||
std::cout << md5.hash("a") << std::endl;
|
||||
std::cout << md5.hash("abc") << std::endl;
|
||||
std::cout << md5.hash("message digest") << std::endl;
|
||||
std::cout << md5.hash("abcdefghijklmnopqrstuvwxyz") << std::endl;
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user