pub fn hash_password(password: Secret<String>) -> Result<String, AppError>
Hashes a password securely using Argon2. The input is wrapped in Secret<String> to guarantee it doesn’t leak in logs.
Secret<String>