package crypto
- Alphabetic
- Public
- Protected
Type Members
- trait CSRFTokenSigner extends AnyRef
Cryptographic utilities for generating and validating CSRF tokens.
Cryptographic utilities for generating and validating CSRF tokens.
This trait should not be used as a general purpose encryption utility.
- class CSRFTokenSignerProvider extends Provider[CSRFTokenSigner]
- Annotations
- @Singleton()
- trait CookieSigner extends AnyRef
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.
- class CookieSignerProvider extends Provider[CookieSigner]
- Annotations
- @Singleton()
- class DefaultCSRFTokenSigner extends CSRFTokenSigner
This class is used for generating random tokens for CSRF.
- class DefaultCookieSigner extends CookieSigner
Uses an HMAC-SHA1 for signing cookies.
Deprecated Value Members
- object CSRFTokenSigner
- Annotations
- @deprecated
- Deprecated
(Since version 2.6.0) CSRFTokenSigner's singleton object can be replaced by MessageDigest.isEqual