Replace md5 deprecated module by the hashlib one