![]() |
TrinityCore
|
Namespaces | |
namespace | SRP |
Classes | |
class | AES |
class | ARC4 |
struct | Argon2 |
struct | Constants |
class | Ed25519 |
class | RsaSignature |
struct | TOTP |
Typedefs | |
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 > |
using | HMAC_SHA1 = Trinity::Impl::GenericHMAC< EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES > |
using | HMAC_SHA256 = Trinity::Impl::GenericHMAC< EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES > |
using | HMAC_SHA512 = Trinity::Impl::GenericHMAC< EVP_sha512, Constants::SHA512_DIGEST_LENGTH_BYTES > |
Functions | |
template<typename Cipher > | |
void | AEEncryptWithRandomIV (std::vector< uint8 > &data, typename Cipher::Key const &key) |
template<typename Cipher > | |
void | AEEncryptWithRandomIV (std::vector< uint8 > &data, BigNumber const &key) |
template<typename Cipher > | |
bool | AEDecrypt (std::vector< uint8 > &data, typename Cipher::Key const &key) |
template<typename Cipher > | |
bool | AEDecrypt (std::vector< uint8 > &data, BigNumber const &key) |
void TC_COMMON_API | GetRandomBytes (uint8 *buf, size_t len) |
template<typename Container > | |
void | GetRandomBytes (Container &c) |
template<size_t S> | |
std::array< uint8, S > | GetRandomBytes () |
using Trinity::Crypto::HMAC_SHA1 = typedef Trinity::Impl::GenericHMAC<EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES> |
using Trinity::Crypto::HMAC_SHA256 = typedef Trinity::Impl::GenericHMAC<EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES> |
using Trinity::Crypto::HMAC_SHA512 = typedef Trinity::Impl::GenericHMAC<EVP_sha512, Constants::SHA512_DIGEST_LENGTH_BYTES> |
using Trinity::Crypto::MD5 = typedef Trinity::Impl::GenericHash<EVP_md5, Constants::MD5_DIGEST_LENGTH_BYTES> |
Definition at line 140 of file CryptoHash.h.
using Trinity::Crypto::SHA1 = typedef Trinity::Impl::GenericHash<EVP_sha1, Constants::SHA1_DIGEST_LENGTH_BYTES> |
Definition at line 141 of file CryptoHash.h.
using Trinity::Crypto::SHA256 = typedef Trinity::Impl::GenericHash<EVP_sha256, Constants::SHA256_DIGEST_LENGTH_BYTES> |
Definition at line 142 of file CryptoHash.h.
using Trinity::Crypto::SHA512 = typedef Trinity::Impl::GenericHash<EVP_sha512, Constants::SHA512_DIGEST_LENGTH_BYTES> |
Definition at line 143 of file CryptoHash.h.
bool Trinity::Crypto::AEDecrypt | ( | std::vector< uint8 > & | data, |
typename Cipher::Key const & | key | ||
) |
void Trinity::Crypto::AEEncryptWithRandomIV | ( | std::vector< uint8 > & | data, |
typename Cipher::Key const & | key | ||
) |
std::array< uint8, S > Trinity::Crypto::GetRandomBytes | ( | ) |
void Trinity::Crypto::GetRandomBytes | ( | Container & | c | ) |
void Trinity::Crypto::GetRandomBytes | ( | uint8 * | buf, |
size_t | len | ||
) |