public class SimpleAesCipher extends Object
| Constructor and Description |
|---|
SimpleAesCipher(String base64Key) |
public SimpleAesCipher(String base64Key)
public void setKey(byte[] key)
public byte[] encrypt(byte[] clear)
throws InvalidKeyException,
IllegalBlockSizeException,
BadPaddingException
public byte[] decrypt(byte[] encrypted)
throws InvalidKeyException,
IllegalBlockSizeException,
BadPaddingException
Copyright © 2014 CrafterCMS. All Rights Reserved.