AzerothCore 3.3.5a
OpenSource WoW Emulator
|
#include "Argon2.h"
Static Public Member Functions | |
static Optional< std::string > | Hash (std::string const &password, BigNumber const &salt, uint32 nIterations=DEFAULT_ITERATIONS, uint32 kibMemoryCost=DEFAULT_MEMORY_COST) |
static bool | Verify (std::string const &password, std::string const &hash) |
Static Public Attributes | |
static constexpr uint32 | HASH_LEN = 16 |
static constexpr uint32 | ENCODED_HASH_LEN = 100 |
static constexpr uint32 | DEFAULT_ITERATIONS = 10 |
static constexpr uint32 | DEFAULT_MEMORY_COST = (1u << 17) |
static constexpr uint32 | PARALLELISM = 1 |
|
static |
References ENCODED_HASH_LEN, HASH_LEN, PARALLELISM, and BigNumber::ToByteVector().
Referenced by SecretMgr::AttemptTransition().
|
static |
Referenced by SecretMgr::AttemptLoad().
|
staticconstexpr |
|
staticconstexpr |
|
staticconstexpr |
Referenced by Hash().