public class ACEUtils extends Object
public static String encrypt(String sSrc, String sKey, String ivStr) throws Exception
sSrc - sKey - ivStr - 使用CBC模式,需要一个向量iv,可增加加密算法的强度Exceptionpublic static String decrypt(String sSrc, String sKey, String ivStr) throws Exception
sSrc - sKey - ivStr - ExceptionCopyright © 2021. All rights reserved.