Hash the identity object for transparent proxies