Core/Cryptography: Move the SHA1 calculate helper to the SHA1 header

This commit is contained in:
Naios authored and Aokromes committed 2016-08-10 08:56:37 +02:00
1 parent 8289ed64d6
commit 7a827fe435
4 files changed
+15 -15

No files matched your search

+4 -1
View File
@@ -46,5 +46,8 @@ class TC_COMMON_API SHA1Hash
SHA_CTX mC;
uint8 mDigest[SHA_DIGEST_LENGTH];
};
#endif
/// Returns the SHA1 hash of the given content as hex string.
TC_COMMON_API std::string CalculateSHA1Hash(std::string const& content);
#endif