MySQL 8.0.40
Source Code Documentation
|
Key Derivation Function for PBKDF2. More...
#include <kdf_pbkdf2.h>
Public Types | |
enum class | Type { Sha_256 , Sha_512 } |
Static Public Member Functions | |
static std::vector< uint8_t > | salt () |
static std::vector< uint8_t > | derive (Type type, unsigned long rounds, const std::vector< uint8_t > &salt, const std::string &key) |
Key Derivation Function for PBKDF2.
See: RFC 2898
while PBKDF2 support several hash-functions, only the most commonly used, secure variants are exposed:
while the insecure ones are not offered:
Other HMACs of (https://tools.ietf.org/html/rfc8018#appendix-B.1.2) may be added:
|
strong |
|
static |
|
static |