StructsΒ§
EnumsΒ§
ConstantsΒ§
- DEFAULT_
PBKD F2_ SHA256_ ITERATIONS - DEFAULT_
PBKD F2_ SHA256_ SALT_ LEN - DEFAULT_
USERNAME π - MAX_
PBKD F2_ SHA256_ ITERATIONS - MAX_
PBKD F2_ SHA256_ SALT_ LEN - PBKD
F2_ SHA256_ HASH_ LEN - PG_
SCRAM_ SHA256_ KEY_ LEN
StaticsΒ§
- PG_
SCRAM_ πMOCK_ SECRET - Process-wide secret used to derive a stable mock salt for unknown users, so
the SCRAM
server-first-messagecanβt be used to enumerate usernames.
FunctionsΒ§
- auth_
mysql - auth_
mysql_ πwith_ hash_ stage_ 2 - double_
sha1 π - format_
mysql_ native_ password_ verifier - format_
pbkdf2_ sha256_ password_ verifier - format_
pg_ scram_ sha256_ password_ verifier - hmac_
sha256 π - mysql_
native_ password_ hash - pg_
scram_ πsha256_ salted_ password - sha1_
one π - sha1_
two π - sha256 π
- static_
user_ provider_ from_ option - user_
provider_ from_ option - userinfo_
by_ name - construct a
UserInfoimpl with name use default usernamegreptimeif None is provided - xor π
Type AliasesΒ§
- Hashed
Password - Hmac
Sha256 π - Host
OrIp π - Salt
- Username π