Core/Cryptography: Move the SHA1 calculate helper to the SHA1 header
This commit is contained in:
1 parent
8289ed64d6
commit
7a827fe435
4 files changed
+15
-15
No files matched your search
@@ -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
|
||||
Reference in new issue
Block a user