WechatPay v0.9.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
Specs
generate() :: String.t()
Generate a 32 length nonce string
Example
iex> WechatPay.Utils.NonceStr.generate()
...> "dzhGXJ8zotL1LYkqnjnDSX9Cw0S2vV0"