pub fn hash_token(token: &SessionToken) -> TokenHashExpand description
Hash a session token with SHA-256.
The resulting hex string (64 chars) is what is stored in the database. The raw token is never persisted.
pub fn hash_token(token: &SessionToken) -> TokenHashHash a session token with SHA-256.
The resulting hex string (64 chars) is what is stored in the database. The raw token is never persisted.