def _hashed_key(key):
 return md5(key.encode(u'utf-8')).hexdigest()

def _hashed_key ( key ) : return md5 ( key . encode ( u'utf-8' ) ) . hexdigest ( )
hash keys when talking directly to the cache api .