@Deprecated public class SimpleAesCipher extends Object
Constructor and Description |
---|
SimpleAesCipher(String base64Key)
Deprecated.
|
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 © 2015 CrafterCMS. All Rights Reserved.