WechatPay v0.8.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
Link to this function
generate()
View Source
generate()
View Source
generate() :: String.t()
generate() :: String.t()
Generate a 32 length nonce string
Example
iex> WechatPay.Utils.NonceStr.generate()
...> "dzhGXJ8zotL1LYkqnjnDSX9Cw0S2vV0"