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