pub fn token_digest(token: &str) -> StringExpand description
Random high-entropy tokens (sessions, api keys) are stored as a plain digest, a KDF buys nothing against a 256-bit preimage and the deterministic value makes the unique index a real lookup.