Skip to main content

Module basic

Module basic 

Source

Structs§

Argon2BasicAuthCred

Traits§

BasicAuthCred

Functions§

hash_password_argon2
Hash a plaintext password with argon2.
is_basic_auth_header
parse_basic_auth_header
Parse a basic auth header value (“Basic base64(user:pass)”) with error handling.
parse_basic_auth_header_opt
Parse a basic auth header value (“Basic base64(user:pass)”).
verify_password_argon2
Verify a plaintext password against an argon2 hash.