Generate hashes on server