Signs (MAC) the given String using the application’s secret key.
Signs (MAC) the given String using the application’s secret key.
By default this uses the platform default JCE provider. This can be overridden by defining
play.http.secret.provider
in application.conf
.
The message to sign.
A hexadecimal encoded signature.
Signs (MAC) the given String using the given secret key.
Signs (MAC) the given String using the given secret key.
By default this uses the platform default JCE provider. This can be overridden by defining
play.http.secret.provider
in application.conf
.
The message to sign.
The private key to sign with.
A hexadecimal encoded signature.
the Java version for this cookie signer.
Authenticates a cookie by returning a message authentication code (MAC).
This trait should not be used as a general purpose MAC utility.