package multihash
Self-describing Hash Functions
Install
Dune Dependency
Authors
Maintainers
Sources
multihash-0.1.0.tbz
sha256=cb6887fa2e31dc06d95b15d678ca9a0fa258be4c32d06db9df0b7981bdb8a5f6
sha512=364de8a501ae3a10cb9d12693c985546bb2a43ee8e229d12e6a120b1a666c54af976f08727f39f6bea62728a7499b302bd8d4641da92ab0eeef419e77738be1a
doc/multihash/Multihash/index.html
Module Multihash
Source
Self-describing Hash Functions
The multihash library allows you to create hash functions that self-describe. This means that just given the digest, the multihash library can tell you the length of the digest along with the kind of hash it is (one of Multicodec.multihash
).
This can be useful if you are writing libraries that want to be able to handle multiple hashing functions in the future (e.g. moving away from SHA1 because it is no longer cryptographically secure) or if you want to distribute your hashes to someone else along with the content so they can verify the two independently.
For an implementation of this library have a look at Multihash_digestif
.
sectionYPositions = computeSectionYPositions($el), 10)"
x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
>
On This Page