Signs the given String with HMAC-SHA1 using the application’s secret key.
Signs the given String with HMAC-SHA1 using the application’s secret key.
By default this uses the platform default JSSE provider. This can be overridden by defining
play.crypto.provider
in application.conf
.
The message to sign.
A hexadecimal encoded signature.
Signs the given String with HMAC-SHA1 using the given key.
Signs the given String with HMAC-SHA1 using the given key.
By default this uses the platform default JSSE provider. This can be overridden by defining
play.crypto.provider
in application.conf
.
The message to sign.
The private key to sign with.
A hexadecimal encoded signature.
Uses an HMAC-SHA1 for signing cookies.