1
0

switch to header file

This commit is contained in:
Sky Johnson 2025-07-31 21:41:41 -05:00
parent 73e9c6786f
commit 77755b5cb3

View File

@ -1,3 +1,5 @@
#pragma once
#include <iostream>
#include <iomanip>
#include <string>
@ -123,16 +125,4 @@ 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;
}
};