MySQL 8.4.2
Source Code Documentation
auth_digest.h File Reference
#include <optional>
#include <string_view>
#include "openssl_digest.h"

Go to the source code of this file.

Namespaces

namespace  routing
 
namespace  routing::impl
 

Functions

template<class Ret , bool nonce_before_double_hashed_password>
std::optional< Ret > routing::impl::scramble (std::string_view nonce, std::string_view password, const EVP_MD *digest_func)
 
template<class Ret >
std::optional< Ret > mysql_native_password_scramble (std::string_view nonce, std::string_view pwd)
 
template<class Ret >
std::optional< Ret > caching_sha2_password_scramble (std::string_view nonce, std::string_view pwd)
 

Function Documentation

◆ caching_sha2_password_scramble()

template<class Ret >
std::optional< Ret > caching_sha2_password_scramble ( std::string_view  nonce,
std::string_view  pwd 
)

◆ mysql_native_password_scramble()

template<class Ret >
std::optional< Ret > mysql_native_password_scramble ( std::string_view  nonce,
std::string_view  pwd 
)