Package

play.api.libs

crypto

Permalink

package crypto

Visibility
  1. Public
  2. All

Type Members

  1. trait CSRFTokenSigner extends AnyRef

    Permalink

    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.

  2. class CSRFTokenSignerProvider extends Provider[CSRFTokenSigner]

    Permalink
    Annotations
    @Singleton()
  3. trait CookieSigner extends AnyRef

    Permalink

    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.

  4. class CookieSignerProvider extends Provider[CookieSigner]

    Permalink
    Annotations
    @Singleton()
  5. class DefaultCSRFTokenSigner extends CSRFTokenSigner

    Permalink

    This class is used for generating random tokens for CSRF.

  6. class DefaultCookieSigner extends CookieSigner

    Permalink

    Uses an HMAC-SHA1 for signing cookies.

Deprecated Value Members

  1. object CSRFTokenSigner

    Permalink
    Annotations
    @deprecated
    Deprecated

    (Since version 2.6.0) CSRFTokenSigner's singleton object can be replaced by MessageDigest.isEqual

Ungrouped