switch to header file
This commit is contained in:
parent
73e9c6786f
commit
77755b5cb3
@ -1,3 +1,5 @@
|
|||||||
|
#pragma once
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <iomanip>
|
#include <iomanip>
|
||||||
#include <string>
|
#include <string>
|
||||||
@ -123,16 +125,4 @@ public:
|
|||||||
|
|
||||||
return result;
|
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