Skip to main content

hash_token

Function hash_token 

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

使用 SHA-256 对 token 进行哈希,用于数据库存储。