public final class CryptoUtils extends Object
public static String encrypt(String data) throws Exception
data - 原始数据Exception - 加密失败public static byte[] encrypt(byte[] data)
throws Exception
data - 原始数据Exception - 加密失败public static String decrypt(String data) throws Exception
data - 密文数据Exception - 解密失败Copyright © 2024. All rights reserved.