WechatPay v0.7.0 WechatPay.Utils.NonceStr View Source

Module to generate nonce string value

Link to this section Summary

Functions

Generate a 32 length nonce string

Link to this section Functions

Generate a 32 length nonce string

Example

iex> WechatPay.Utils.NonceStr.generate()
...> "dzhGXJ8zotL1LYkqnjnDSX9Cw0S2vV0"