Replacement for md5 module in Python 3?
Is there any other module for md5? zerkms It is in hashlib import hashlib print(hashlib.md5('asd'.encode()).hexdigest()) It has been deprecated since version 2.5. You must use hashlib . From: http://www.python.org/dev/peps/pep-0004/ MD5 have been replaced by the 'hashlib' module. 来源: https://stackoverflow.com/questions/4954602/replacement-for-md5-module-in-python-3