Add more hash algorthms, switch to openssl / libcrypto

This commit is contained in:
WerWolv
2020-11-12 12:00:50 +01:00
parent 3a6d19eca4
commit 5ba3badcbf
7 changed files with 340 additions and 169 deletions

View File

@@ -10,7 +10,4 @@ namespace hex {
std::optional<std::string> openFileDialog();
u16 crc16(u8 *data, size_t size, u16 polynomial, u16 init);
u32 crc32(u8 *data, size_t size, u32 polynomial, u32 init);
std::array<u32, 4> md5(u8 *data, size_t size);
}