News for hackers. Stuff that matters.
Re:Multihash – self-describing hashes by jnwatson on Sunday February 26, 2017 @05:09PM (#13740270)
And then your code would still need a table mapping the string to the implementation.
Re:Multihash – self-describing hashes by smsm42 on Sunday February 26, 2017 @05:37PM (#13740425)
Yes, but that's just one table - for implementations that are supported by code. I don't need the table to just understand what this hash is - only to verify it. And, if I want to add my private hash, I don't need to update shared tables and be worried some other hash would have the same ID as mine. I can just use reasonably unique string.
Re:Multihash – self-describing hashes by RubyPinch on Monday February 27, 2017 @07:59AM (#13743841)
It still needs a table, but it doesn't need consensus on what those names mean.

If someone says "sha2", that doesn't mean bcrypt, after all!

Re:Multihash – self-describing hashes by LeoPanthera on Sunday February 26, 2017 @06:29PM (#13740658)
But at least you could work out the mapping in your head, without having to refer to a numeric table.
Re:Multihash – self-describing hashes by _prometheus on Sunday February 26, 2017 @05:33PM (#13740407)
yep, exactly :)