♻️ 过时语义不清晰的 decrypt 方法

This commit is contained in:
Scruel Tao
2021-12-08 14:47:49 +08:00
committed by GitHub
parent fcb599b76e
commit f2ac81ef5e
6 changed files with 8 additions and 6 deletions

View File

@@ -259,7 +259,9 @@ public class WxCryptUtil {
* @param nonce 随机串对应URL参数的nonce
* @param encryptedXml 包含 Encrypt 密文的 xml对应POST请求的数据
* @return 解密后的原文
* @deprecated 由于语义不清晰,置为过时方法,请查看替代方法 {@link #decryptXml}
*/
@Deprecated
public String decrypt(String msgSignature, String timeStamp, String nonce, String encryptedXml) {
return decryptXml(msgSignature, timeStamp, nonce, encryptedXml);
}