MySQL 9.1.0
Source Code Documentation
Pbkdf2McfType Class Reference

map the MCF name to internal types. More...

#include <kdf_pbkdf2.h>

Public Types

using Type = Pbkdf2::Type
 

Static Public Member Functions

static std::pair< bool, std::string > name (Type type) noexcept
 
static std::pair< bool, Typetype (const std::string &name) noexcept
 
static bool supports_name (const std::string &name) noexcept
 

Static Public Attributes

static constexpr char kTypeSha256 [] = "pbkdf2-sha256"
 
static constexpr char kTypeSha512 [] = "pbkdf2-sha512"
 

Detailed Description

map the MCF name to internal types.

MCF-name are taking from passlib:

https://passlib.readthedocs.io/en/stable/modular_crypt_format.html#application-defined-hashes

Member Typedef Documentation

◆ Type

Member Function Documentation

◆ name()

static std::pair< bool, std::string > Pbkdf2McfType::name ( Type  type)
inlinestaticnoexcept

◆ supports_name()

static bool Pbkdf2McfType::supports_name ( const std::string &  name)
inlinestaticnoexcept

◆ type()

static std::pair< bool, Type > Pbkdf2McfType::type ( const std::string &  name)
inlinestaticnoexcept

Member Data Documentation

◆ kTypeSha256

constexpr char Pbkdf2McfType::kTypeSha256[] = "pbkdf2-sha256"
staticconstexpr

◆ kTypeSha512

constexpr char Pbkdf2McfType::kTypeSha512[] = "pbkdf2-sha512"
staticconstexpr

The documentation for this class was generated from the following file: