Skip to main content

mask

Function mask 

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

The value a form posts under FIELD_NAME for token: the token XORed with a random pad, pad first, in unpadded base64url. Each call draws a new pad, so the same token never renders twice the same; verify accepts any of them. "" when token is not a token ensure_token issued.

field renders it; call it for a form a page builds without the view.