public class AESEncryptor extends Object implements SymmetricEncryptor
public String encrypt(byte[] body, String secretKey)
encrypt 在接口中 SymmetricEncryptorbody - 待加密数据secretKey - AES秘钥LeonaRuntimeException - AES加密异常public byte[] decrypt(String body, byte[] secretKey)
decrypt 在接口中 SymmetricEncryptorbody - 待解密数据secretKey - AES秘钥LeonaRuntimeException - AES解密异常Copyright © 2020. All rights reserved.