Skip to main content

extract_client_nonce

Function extract_client_nonce 

Source
pub fn extract_client_nonce(client_first_b64: &str) -> Result<String, AuthError>
Expand description

Extract the client nonce from a base64-encoded client-first-message.

The client-first-message format is n,,n=<username>,r=<client_nonce>. Returns the raw nonce string.