MCPcopy Index your code
hub / github.com/smallfawn/QLScriptPublic / md5_hash

Function md5_hash

tianyi.py:85–86  ·  view source on GitHub ↗
(data)

Source from the content-addressed store, hash-verified

83 return ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(length))
84
85def md5_hash(data):
86 return hashlib.md5(data.encode('utf-8')).hexdigest()
87
88def encryptmd5(timestamp, randomnum):
89 md5_e = md5_hash(str(timestamp))

Callers 1

encryptmd5Function · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected