Skip to main content

Crate ferrox_security

Crate ferrox_security 

Source

Modules§

auth_middleware
dual_token
public_id

Structs§

AuthPayload
PasetoAuth
A securely typed PASETO Auth Engine

Functions§

hash_password
Hashes a password securely using Argon2. The input is wrapped in Secret<String> to guarantee it doesn’t leak in logs.
setup
verify_password
Verifies a password against an Argon2 hash.