convert string to md5,hashlib.md5('fred'.encode('utf')).hexdigest()