Search
wechat
v0.13.3
Pages
Modules
Settings
View Source
WeChat.Pay.Crypto
(wechat v0.13.3)
用于支付加密相关
Summary
Functions
decrypt_aes_256_gcm(client, ciphertext, associated_data, iv)
decrypt_secret_data(cipher_text, private_key)
解密敏感信息 -
官方文档
encrypt_secret_data(data, public_key)
加密敏感信息 -
官方文档
sign(env, timestamp, nonce_str, private_key)
签名 -
官方文档
verify(signature, timestamp, nonce, body, public_key)
验签 -
官方文档
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
验签 -
官方文档