com.khubla.pragmatach.framework.crypto
Class AES

java.lang.Object
  extended by com.khubla.pragmatach.framework.crypto.AES

public class AES
extends Object

Author:
tome

Constructor Summary
AES()
           
 
Method Summary
static String decrypt(String encryptedPayload, String key)
          decrypt
static String encrypt(String payload, String key)
          encrypt
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AES

public AES()
Method Detail

decrypt

public static String decrypt(String encryptedPayload,
                             String key)
                      throws Exception
decrypt

Throws:
Exception

encrypt

public static String encrypt(String payload,
                             String key)
                      throws Exception
encrypt

Throws:
Exception


Copyright © 2014 khubla.com. All rights reserved.