pub fn hash_secret(secret: &str) -> Result<String, ApiKeyError>Expand description
Hash a secret with argon2id. Returns the standard PHC string format
($argon2id$v=19$...) suitable for storing in a varchar column.
ยงErrors
ApiKeyError::Hash on argon2 failures.