Skip to main content

sha256_hex

Function sha256_hex 

Source
pub fn sha256_hex(input: &str) -> String
Expand description

明文 token / 任意字符串 → SHA-256 hex。

此前 auth/session.rsmcp/auth.rs 各有一份逐字相同的实现。