Created
January 9, 2018 07:52
-
-
Save uuz2333/b867447ed9efd15453c4af3ae436bae6 to your computer and use it in GitHub Desktop.
genete md5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import hashlib | |
import time | |
def create_md5(): | |
m = hashlib.md5() | |
m.update(bytes(str(time.time()), encoding='utf-8')) | |
return m.hexdigest() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment