Hands on the hashlib Module in Python Oct 25, 2020 In [1]: import hashlib In [4]: hashlib.md5("how are you doing".encode()).hexdigest() Out[4]: '01d35666581d37ba3de9741c1122ee0a' References¶https://docs.python.org/3/library/hashlib.html In [ ]: