We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
import hashlib import time
def get_sign(t): """ 生成签名。 """ md5_hash = hashlib.md5(("dbbc1dd37360b4084c3a69346e0ce2b2." + str(t)).encode('utf-8')).hexdigest() return md5_hash
if name == 'main': n = int(time.time()) n = '1744598015' l = get_sign(n) print("sign", l)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
MD5加密
import hashlib
import time
def get_sign(t):
"""
生成签名。
"""
md5_hash = hashlib.md5(("dbbc1dd37360b4084c3a69346e0ce2b2." + str(t)).encode('utf-8')).hexdigest()
return md5_hash
示例用法
if name == 'main':
n = int(time.time())
n = '1744598015'
l = get_sign(n)
print("sign", l)
The text was updated successfully, but these errors were encountered: