hyperhyperspace / hyperhyperspace-core

A library to create p2p applications, using the browser as a full peer.
https://www.hyperhyperspace.org
MIT License
195 stars 12 forks source link

Improve hashing of public keys #8

Open sbazerque opened 3 years ago

sbazerque commented 3 years ago

When hashing a public key in the process of creating an identity, remove all whitespace / newlines before doing the actual hash, in order to make the process deterministic.