diff options
| author | Shauren <shauren.trinity@gmail.com> | 2023-12-19 21:13:33 +0100 |
|---|---|---|
| committer | funjoker <funjoker109@gmail.com> | 2024-01-09 11:55:10 +0100 |
| commit | 239d7143202e7c2240e24f25c900fe8dcb5d24a3 (patch) | |
| tree | 02beccd14edce6e83acd7717ba726cfde93a54ff /src/common/Cryptography/CryptoHash.h | |
| parent | d3c45346c0f92742e3a317ab2e537e9331dbd271 (diff) | |
Core/Crypto: Added SHA 512 definitions
(cherry picked from commit e172052a0ac0e983a49cc0647fda8df4257dbdcf)
Diffstat (limited to 'src/common/Cryptography/CryptoHash.h')
| -rw-r--r-- | src/common/Cryptography/CryptoHash.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/common/Cryptography/CryptoHash.h b/src/common/Cryptography/CryptoHash.h index cb7e5716e66..34b299c1d4f 100644 --- a/src/common/Cryptography/CryptoHash.h +++ b/src/common/Cryptography/CryptoHash.h @@ -140,6 +140,7 @@ namespace Trinity::Crypto using MD5 = Trinity::Impl::GenericHash<EVP_md5, Constants::MD5_DIGEST_LENGTH_BYTES>; using SHA1 = Trinity::Impl::GenericHash<EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES>; using SHA256 = Trinity::Impl::GenericHash<EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES>; + using SHA512 = Trinity::Impl::GenericHash<EVP_sha512, Constants::SHA512_DIGEST_LENGTH_BYTES>; } #endif |
