TrinityCore
|
#include <CryptoHash.h>
Public Types | |
using | Digest = std::array< uint8, DIGEST_LENGTH > |
Public Member Functions | |
GenericHash () | |
GenericHash (GenericHash const &right) | |
GenericHash (GenericHash &&right) noexcept | |
~GenericHash () | |
GenericHash & | operator= (GenericHash const &right) |
GenericHash & | operator= (GenericHash &&right) noexcept |
void | UpdateData (uint8 const *data, size_t len) |
void | UpdateData (std::string_view str) |
void | UpdateData (std::string const &str) |
void | UpdateData (char const *str) |
template<typename Container > | |
void | UpdateData (Container const &c) |
void | Finalize () |
Digest const & | GetDigest () const |
Static Public Member Functions | |
static Digest | GetDigestOf (uint8 const *data, size_t len) |
template<typename... Ts> | |
static auto | GetDigestOf (Ts &&... pack) -> std::enable_if_t< std::conjunction_v< std::negation< std::is_integral< Ts > >... >, Digest > |
Static Public Attributes | |
static constexpr size_t | DIGEST_LENGTH = DigestLength |
Private Attributes | |
EVP_MD_CTX * | _ctx |
Digest | _digest = { } |
Definition at line 43 of file CryptoHash.h.
using Trinity::Impl::GenericHash< HashCreator, DigestLength >::Digest = std::array<uint8, DIGEST_LENGTH> |
Definition at line 47 of file CryptoHash.h.
|
inline |
Definition at line 66 of file CryptoHash.h.
|
inline |
Definition at line 72 of file CryptoHash.h.
|
inlinenoexcept |
Definition at line 77 of file CryptoHash.h.
|
inline |
|
inline |
|
inline |
|
inlinestatic |
|
inlinestatic |
Definition at line 49 of file CryptoHash.h.
|
inlinenoexcept |
|
inline |
Definition at line 90 of file CryptoHash.h.
|
inline |
Definition at line 118 of file CryptoHash.h.
|
inline |
Definition at line 120 of file CryptoHash.h.
|
inline |
Definition at line 117 of file CryptoHash.h.
|
inline |
Definition at line 116 of file CryptoHash.h.
|
inline |
|
private |
Definition at line 133 of file CryptoHash.h.
|
private |
Definition at line 134 of file CryptoHash.h.
|
staticconstexpr |
Definition at line 46 of file CryptoHash.h.