public class AES extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
CIPHER_ALGORITHM |
private static org.slf4j.Logger |
LOGGER |
private SecretKey |
secretKey |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] input) |
byte[] |
encrypt(String input) |
private Cipher |
getCipherInstance() |
private static final org.slf4j.Logger LOGGER
private SecretKey secretKey
protected static final String CIPHER_ALGORITHM
public byte[] encrypt(String input) throws AESException
AESExceptionpublic byte[] decrypt(byte[] input)
throws AESException
AESExceptionprivate Cipher getCipherInstance() throws AESException
AESExceptionCopyright © 2017–2020. All rights reserved.