Use hashlib not deprecated md5 lib