Juan Lang : crypt32: Use helper function to encode public keys for hashing.