public interface WecomCipher
String encrypt(String key, String associatedData, String iv, String plainText) throws IllegalArgumentException
key - 密钥associatedData - 额外的认证加密数据iv - 初始化向量随机串plainText - 明文IllegalArgumentException - the illegal argument exceptionString decrypt(String key, String associatedData, String iv, String cipherText) throws IllegalArgumentException
key - 密钥associatedData - 额外的认证加密数据iv - 初始化向量随机串cipherText - 密文IllegalArgumentException - the illegal argument exceptionCopyright © 2023. All rights reserved.