public class MsgEncryptKit extends Object
| 构造器和说明 |
|---|
MsgEncryptKit() |
| 限定符和类型 | 方法和说明 |
|---|---|
static String |
decrypt(String encryptedMsg,
String timestamp,
String nonce,
String msgSignature)
解密公众号消息
|
static String |
decryptWxaMsg(String encryptedMsg,
String timestamp,
String nonce,
String msgSignature)
解密小程序客服消息
|
static String |
encrypt(String msg,
String timestamp,
String nonce)
加密公众号消息
|
static String |
encryptWxaMsg(String msg,
String timestamp,
String nonce)
加密小程序消息
|
public static String encrypt(String msg, String timestamp, String nonce)
msg - timestamp - nonce - public static String encryptWxaMsg(String msg, String timestamp, String nonce)
msg - timestamp - nonce - public static String decrypt(String encryptedMsg, String timestamp, String nonce, String msgSignature)
encryptedMsg - timestamp - nonce - msgSignature - Copyright © 2021. All rights reserved.