public class AesUtil extends Object
Constructor and Description |
---|
AesUtil(int keySize,
int iterationCount) |
Modifier and Type | Method and Description |
---|---|
protected static String |
base64(byte[] bytes) |
protected static byte[] |
base64(String str) |
String |
decrypt(String salt,
String iv,
String passphrase,
String ciphertext) |
String |
encrypt(String salt,
String iv,
String passphrase,
String plaintext) |
protected static String |
hex(byte[] bytes) |
protected static byte[] |
hex(String str) |
protected static String |
random(int length) |
Copyright © 2012–2019 tinyMediaManager. All rights reserved.