Hacker GitHub

← All repos

multiformats/multihash

View on GitHub ↗ ★ 946 Shell

Self describing hashes - for future proofing

24 mentions on Hacker News by 18 people: 1 story, 23 comments · first 2015-04-04 · latest 2025-06-25

Mentions per year 24 mentions · busiest year 2017 (9)
20082026
  1. …integrity, embedding the output of an arbitrary hash algorithm specified by its registered https://github.com/multiformats/multihash "hash function code". • Re-widen the chunk-name-valid character set to those valid in IFFv1 documents, to…
    comment by derefr · 2025-06-25 · in A new PNG spec
  2. …base encodings" + "self-describing hashes" AKA https://github.com/multiformats/multibase + https://github.com/multiformats/multihash
  3. …base encoding with emojis for fun: https://cid.ipfs.tech/#%F0%9F%9A%80%F0%9F%AA%90%E2%AD%90%F0%... https://github.com/multiformats/multihash supports at the very least SHA1 SHA2-256 SHA2-512 SHA3/Keccak…
  4. ▲ 5
    multihash: Self describing hashes, for future proofing
    story by metadat · 2022-06-24 · 0 comments
  5. Also check out multihash from the IPFS folks: https://github.com/multiformats/multihash It's a more robust, well-specified, interoperable version of this concept. Though it's probably overkill if you control both the consumer and producer…
    comment by lewisl9029 · 2022-06-23 · in Whatever happened to SHA-256 support in Git?
  6. …have to handle all of these cases as people provide a million variants of the same torrent. [0]: https://github.com/multiformats/multihash
    comment by tekacs · 2020-09-07 · in BitTorrent v2
  7. …for git, but it does seem likely that this issue will come up again before the end of time :) [0] https://github.com/multiformats/multihash
    comment by robto · 2020-06-20 · in Updating the Git protocol for SHA-256
  8. I wish more people would adopt (and better formalize) multihash and related projects https://github.com/multiformats/multihash It’s a really simple good idea that has developed in the ipfs world.
    comment by rudolph9 · 2020-06-20 · in Updating the Git protocol for SHA-256
  9. …backward compatibility and incremental upgrades harder. MultiHash is a solution for such issues: https://github.com/multiformats/multihash
    comment by mathnmusic · 2020-06-20 · in Updating the Git protocol for SHA-256
  10. …is a format for self-describing hashes that helps with data portability and future-proofing: https://github.com/multiformats/multihash
    comment by mathnmusic · 2020-02-04 · in A new hash algorithm for Git
  11. …which is not happening if you return something unrelated to the object. What am I missing? Edit: https://github.com/multiformats/multihash/issues/13 suggests this is a replacement for using the content of the object, which is not…
  12. …it could, and also if possible that numeric id for that algorithm be standardized beyond just git. https://github.com/multiformats/multihash/blob/master/README...
    comment by benjaminjackman · 2017-11-30 · in Git hash function transition plan
  13. Yeah you're right, we've been meaning to add MD5. Filed issue: https://github.com/multiformats/multihash/issues/71
    comment by _prometheus · 2017-02-26 · in Multihash – self-describing hashes
  14. …functions encourage it, we support the addition of the specific different constructions (if named): https://github.com/multiformats/multihash/blob/master/hashta... -- we did a silly thing with Blake2 where we imported all the valid…
    comment by _prometheus · 2017-02-26 · in Multihash – self-describing hashes
  15. …won't have to think so much up-front about how to encode hashes that aren't in the registry. [0] https://github.com/multiformats/multihash/pull/41/files#diff...
    comment by philsnow · 2017-02-26 · in Multihash – self-describing hashes
  16. …AGL describes it well here: https://www.imperialviolet.org/2016/05/16/agility.html --- I've filed https://github.com/multiformats/multihash/issues/70 to track this.
    comment by _prometheus · 2017-02-26 · in Multihash – self-describing hashes
  17. For anyone needing to decide what hash function to use, I recommend to have a look at multihash: https://github.com/multiformats/multihash
    comment by Kametrixom · 2017-02-25 · in Lifetimes of cryptographic hash functions
  18. …was used when generating the hash, so you can have the same input, multiple hashes. - [0] https://github.com/multiformats/multihash
  19. …to periodically rehash files (as a cron job?) when a new crypto algorithm gets introduced. [0]: https://github.com/multiformats/multihash
    comment by citrusui · 2017-02-24 · in Linus' reply on Git and SHA-1 collision
  20. Use multihashes for hash algorithm agility :) https://github.com/multiformats/multihash
    comment by lgierth · 2017-01-19 · in Distributing NixOS with IPFS
  21. Specifically https://github.com/jbenet/multihash
    comment by kodablah · 2016-02-21 · in RFC 6920: Naming Things with Hashes
  22. this is why we use multihash -- https://github.com/jbenet/multihash
  23. that's a base58 encoded multihash: https://github.com/jbenet/multihash/ and https://github.com/jbenet/go-multihash/
    comment by _prometheus · 2015-04-04 · in IPFS is a new peer-to-peer hypermedia protocol
  24. …is the base58 representation. you can have a binary packed version as well. check out more at https://github.com/jbenet/multihash/ the important thing here is standardizing the encoding, i.e. there should be a valid repr in {binary, hex,…
    comment by _prometheus · 2015-04-04 · in Hashpipe – Pipe iff the hash matches