public class AesUtils extends Object
public byte[] encrypt(byte[] arr)
throws Exception
arr - 需加密的字节数组Exception - 异常public String encrypt(String strIn) throws Exception
strIn - 需加密的字符串Exception - 异常public byte[] decrypt(byte[] arr)
throws Exception
arr - 需解密的字节数组Exception - 异常public String decrypt(String strIn) throws Exception
strIn - 需解密的字符串Exception - 异常Copyright © 2024. All rights reserved.