Skip to content

Instantly share code, notes, and snippets.

@uuz2333
Created January 9, 2018 07:52
Show Gist options
  • Save uuz2333/b867447ed9efd15453c4af3ae436bae6 to your computer and use it in GitHub Desktop.
Save uuz2333/b867447ed9efd15453c4af3ae436bae6 to your computer and use it in GitHub Desktop.
genete md5
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