Cryptographic utilities for generating and validating CSRF tokens.
Authenticates a cookie by returning a message authentication code (MAC).
Authenticates a cookie by returning a message authentication code (MAC).
This trait should not be used as a general purpose MAC utility.
This class is used for generating random tokens for CSRF.
Uses an HMAC-SHA1 for signing cookies.
(Since version 2.6.0) CSRFTokenSigner's singleton object can be replaced by MessageDigest.isEqual
Cryptographic utilities for generating and validating CSRF tokens.
This trait should not be used as a general purpose encryption utility.