public class AesUtil extends Object
private static String
KEY_ALGORITHM
AesUtil()
static String
aesDecode(String secretKey, String content)
aesEncode(String secretKey, String content)
private static SecretKeySpec
getSecretKey(String password)
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
private static final String KEY_ALGORITHM
public AesUtil()
public static String aesEncode(String secretKey, String content) throws Exception
Exception
private static SecretKeySpec getSecretKey(String password) throws Exception
public static String aesDecode(String secretKey, String content) throws Exception
secretKey
content
Copyright © 2022. All rights reserved.