com.braintreegateway.util
Class Crypto

java.lang.Object
  extended by com.braintreegateway.util.Crypto

public class Crypto
extends Object


Constructor Summary
Crypto()
           
 
Method Summary
 String hmacHash(String privateKey, String content)
           
 Boolean secureCompare(String left, String right)
           
 byte[] sha1Bytes(String string)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Crypto

public Crypto()
Method Detail

hmacHash

public String hmacHash(String privateKey,
                       String content)

secureCompare

public Boolean secureCompare(String left,
                             String right)

sha1Bytes

public byte[] sha1Bytes(String string)


Copyright © 2013. All Rights Reserved.