MCPcopy Create free account
hub / github.com/doraemonext/wechat-python-sdk / generate_nonce

Function generate_nonce

wechat_sdk/utils.py:61–65  ·  view source on GitHub ↗

生成 nonce :return: nonce string

()

Source from the content-addressed store, hash-verified

59
60
61def generate_nonce():
62 """生成 nonce
63 :return: nonce string
64 """
65 return random.randrange(1000000000, 2000000000)
66
67
68def convert_ext_to_mime(extension):

Callers 1

_encrypt_responseMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected