ninja.utils
Class Crypto
java.lang.Object
ninja.utils.Crypto
public class Crypto
- extends Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Crypto
@Inject
public Crypto(NinjaProperties ninjaProperties)
- Secret is a secret key. Usually something like:
"Fxu6U5BTGIJZ06c8bD1xkhHc3Ct5JZXlst8tJ1K5uJJPaLdceDo6CUz0iWpjjQUY".
- Parameters:
applicationSecret
- the secret to use for signing.
signHmacSha1
public String signHmacSha1(String message)
Copyright © 2012. All Rights Reserved.