Which hashing algorithm should the CAN manager use?ΒΆ
CAN stores notes in the notebook at addresses based on their content, rather than by user-provided names. These addresses will be generated using cryptographic hashing algorithms.
Tools with similar needs exist, including:
Both use SHA to generate digests. Unison uses SHA3-512, while ipfs uses SHA-256 by default. ipfs also encodes their hashes with multihash.
This leads to a few decisions. Firstly, CAN will use SHA3-512 digests. Secondly, CAN will use multihash to encode digests. Finally as node relies on openssl for crypto, CAN will depend on openssl for hashing algorithms.