module Amber::Pipe::CSRF::PersistentToken::TokenOperations
Extended Modules
Defined in:
amber/pipes/csrf.crInstance Method Summary
-
#mask(unmasked_token : Bytes) : String
Creates a masked version of the authenticity token that varies on each request.
- #unmask(masked_token : Bytes) : Bytes
- #xor_bytes_arrays(token : Bytes, pad : Bytes) : Bytes
Instance Method Detail
Creates a masked version of the authenticity token that varies on each request. The masking is used to mitigate SSL attacks like BREACH.