Precompute public keys hash

Right now the server is unnecessiarly computing this hash.  We can save
significant server resources by moving this computation to the client.

Change-Id: Ibb72ea782a2e34ac375a255e65262f89e1367712