Skip to main content

hash_token

Function hash_token 

Source
pub fn hash_token(token: &str) -> String
Expand description

Hash a token with SHA-256 for storage. Returns hex-encoded.