Use hashlib module instead of the deprecated md5 module

Deprecated since version 2.5

Python3 does not contain the deprecated md5 module