Replacement for md5 module in Python 3? Replacement for md5 module in Python 3? python-3.x python-3.x

Replacement for md5 module in Python 3?


It is in hashlib

import hashlibprint(hashlib.md5('asd'.encode()).hexdigest())


It has been deprecated since version 2.5. You must use hashlib.