Canonical string to hash
Hash algorithm. sha256 and blake3 are cryptographic and
safe for security-sensitive comparisons. murmur3, simhash, and
minhash are fast 32-bit NON-CRYPTOGRAPHIC hashes intended for
perceptual similarity only: an attacker can search for colliding input
in ~2^32 attempts, so never rely on them to authenticate or compare
security-sensitive content.
Promise resolving to the hex hash string
Hash a canonical structure string.