Package org.craftercms.commons.crypto
Class SimpleAesCipher
- java.lang.Object
-
- org.craftercms.commons.crypto.SimpleAesCipher
-
@Deprecated public class SimpleAesCipher extends Object
Deprecated.- Author:
- Sumer Jabri
-
-
Constructor Summary
Constructors Constructor Description SimpleAesCipher(String base64Key)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description byte[]
decrypt(byte[] encrypted)
Deprecated.byte[]
encrypt(byte[] clear)
Deprecated.void
setKey(byte[] key)
Deprecated.
-
-
-
Constructor Detail
-
SimpleAesCipher
public SimpleAesCipher(String base64Key)
Deprecated.
-
-
Method Detail
-
setKey
public void setKey(byte[] key)
Deprecated.
-
encrypt
public byte[] encrypt(byte[] clear) throws InvalidKeyException, IllegalBlockSizeException, BadPaddingException
Deprecated.
-
decrypt
public byte[] decrypt(byte[] encrypted) throws InvalidKeyException, IllegalBlockSizeException, BadPaddingException
Deprecated.
-
-