public class ShiroAesDataEncrypter extends Object implements DataEncrypter
| Modifier and Type | Field and Description |
|---|---|
protected org.slf4j.Logger |
logger |
| Constructor and Description |
|---|
ShiroAesDataEncrypter() |
ShiroAesDataEncrypter(String key) |
| Modifier and Type | Method and Description |
|---|---|
byte[] |
decrypt(byte[] encryptedBytes)
Decrypt the data.
|
byte[] |
encrypt(byte[] rawBytes)
Encrypt the data.
|
public ShiroAesDataEncrypter()
public ShiroAesDataEncrypter(String key)
public byte[] decrypt(byte[] encryptedBytes)
DataEncrypterdecrypt in interface DataEncrypterencryptedBytes - the encrypted bytespublic byte[] encrypt(byte[] rawBytes)
DataEncrypterencrypt in interface DataEncrypterrawBytes - the raw bytesCopyright © 2019. All rights reserved.