public class AES extends Object
| Modifier and Type | Field and Description |
|---|---|
private static String |
cipherAlgorithm |
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
private static String cipherAlgorithm
public byte[] encrypt(String input) throws AESException
AESExceptionpublic byte[] decrypt(byte[] input)
throws AESException
AESExceptionprivate Cipher getCipherInstance() throws AESException
AESExceptionCopyright © 2017–2019. All rights reserved.