def get_anonymized_user():
 return HMAC(key=config.WEB_SECRET, msg=get_user()).digest()[:9].encode('base64').rstrip()

def get_anonymized_user ( ) : return HMAC ( key = config . WEB_SECRET , msg = get_user ( ) ) . digest ( ) [ : 9 ] . encode ( 'base64' ) . rstrip ( )
return the hmac value of the current user authenticated with the hmac secret .