Skip to main content

random_secret

Function random_secret 

Source
pub(crate) fn random_secret() -> String
Expand description

256 random bits as 64 hex characters (a valid WebSocket subprotocol token and cookie value).