View Source WeChat.Pay.Crypto (wechat v0.13.5)

用于支付加密相关

Summary

Functions

Link to this function

decrypt_aes_256_gcm(client, ciphertext, associated_data, iv)

View Source
Link to this function

decrypt_secret_data(cipher_text, private_key)

View Source

解密敏感信息 - 官方文档

Link to this function

encrypt_secret_data(data, public_key)

View Source

加密敏感信息 - 官方文档

Link to this function

sign(env, timestamp, nonce_str, private_key)

View Source

签名 - 官方文档

Link to this function

verify(signature, timestamp, nonce, body, public_key)

View Source

验签 - 官方文档