com.shephertz.app42.paas.sdk.java.crypto
Class CryptoService

java.lang.Object
  extended by com.shephertz.app42.paas.sdk.java.crypto.CryptoService

public class CryptoService
extends java.lang.Object


Constructor Summary
CryptoService(java.lang.String apiKey, java.lang.String secretKey, java.lang.String baseURL)
          This is a constructor that takes
 
Method Summary
 java.lang.String decrypt(java.lang.String message, java.lang.String pwd, CryptoAlgo algo)
           
 java.lang.String encrypt(java.lang.String message, java.lang.String pwd, CryptoAlgo algo)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CryptoService

public CryptoService(java.lang.String apiKey,
                     java.lang.String secretKey,
                     java.lang.String baseURL)
This is a constructor that takes

Parameters:
apiKey -
secretKey -
baseURL -
Method Detail

decrypt

public java.lang.String decrypt(java.lang.String message,
                                java.lang.String pwd,
                                CryptoAlgo algo)
                         throws App42Exception
Throws:
App42Exception

encrypt

public java.lang.String encrypt(java.lang.String message,
                                java.lang.String pwd,
                                CryptoAlgo algo)
                         throws App42Exception
Throws:
App42Exception