@Deprecated public class SimpleAesCipher extends Object
| Constructor and Description |
|---|
SimpleAesCipher(String base64Key)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] encrypted)
Deprecated.
|
byte[] |
encrypt(byte[] clear)
Deprecated.
|
void |
setKey(byte[] key)
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 © 2018 CrafterCMS. All rights reserved.