암호화
This commit is contained in:
@@ -24,7 +24,7 @@ public class AES256Cipher {
|
||||
//private static final Logger logger = Logger.getLogger(AES256Cipher.class);
|
||||
static Logger logger = Logger.getLogger(Logger.LOGGER_DEFAULT);
|
||||
private static final String IV_STRING = "A-16-Byte-String";
|
||||
|
||||
|
||||
public static String encrypt(String inPlainText, String inKey)
|
||||
throws NoSuchAlgorithmException, IllegalBlockSizeException, InvalidKeyException, BadPaddingException, InvalidAlgorithmParameterException, NoSuchPaddingException {
|
||||
|
||||
@@ -183,6 +183,8 @@ public class AES256Cipher {
|
||||
|
||||
return resultData;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user