MySQL 8.0.37
Source Code Documentation
password.h File Reference
#include <stddef.h>
#include <sys/types.h>
#include "my_macros.h"

Go to the source code of this file.

Functions

struct rand_structget_sql_rand ()
 
void my_make_scrambled_password (char *to, const char *password, size_t pass_len)
 
void my_make_scrambled_password_sha1 (char *to, const char *password, size_t pass_len)
 
void hash_password (ulong *result, const char *password, uint password_len)
 

Function Documentation

◆ get_sql_rand()

struct rand_struct * get_sql_rand ( )

◆ hash_password()

void hash_password ( ulong *  result,
const char *  password,
uint  password_len 
)

◆ my_make_scrambled_password()

void my_make_scrambled_password ( char *  to,
const char *  password,
size_t  pass_len 
)

◆ my_make_scrambled_password_sha1()

void my_make_scrambled_password_sha1 ( char *  to,
const char *  password,
size_t  pass_len 
)