Skip to main content

hash_token

Function hash_token 

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

明文 token → SHA-256 hex(与 mcp_tokens.token_hash 列一致,用于 DB 查找)。