Open bnewbold opened 6 years ago
Other advantages:
I feel like there are various recommendations missing from the dat project
This was intentional. I don't think we should be over prescriptive; folks should be able to adapt this feature to their own needs (including ones we aren't even thinking of at this time).
For the sake of simplicity, if users or implementors don't want to be bothered choosing or coordinating algorithms to use by default, this draft does say:
For 2018, recommended default full-file hash functions to include are SHA1 (for popularity and interoperability) and blake2b-256 (already used in other parts of the Dat protocol stack).
I seemed to have overread that section :blush:
For 2018, recommended default full-file hash functions to include are SHA1 (for popularity and interoperability) and blake2b-256 (already used in other parts of the Dat protocol stack).
Now I am all good - though @mafintosh might have something to say about additionally having to compute SHA1.
https://github.com/mafintosh/hyperdrive/issues/203#issuecomment-367472911
Maybe "widely used"
On March 20, 2018 2:29:29 PM PDT, Martin Heidegger notifications@github.com wrote:
martinheidegger commented on this pull request.
+ +Type: Standard + +Status: Undefined (as of YYYY-MM-DD) + +Github PR: Discussion + +Authors: Bryan Newbold + + +# Summary +[summary]: #summary + +Full-file hashes are optionally included in hyperdrive metadata to complement +the existing cryptographic-strength hashing of sub-file chunks. Multiple +popular hash algorithms can be included at the same time.
This was a little nitpicking around my impression that the sentence would have the same meaning and impact without "popular"; this blew out of proportion.
-- You are receiving this because you authored the thread. Reply to this email directly or view it on GitHub: https://github.com/datprotocol/DEPs/pull/12#discussion_r175928843
Rendered pre-merge
"Full-file hashes are optionally included in hyperdrive metadata to complement the existing cryptographic-strength hashing of sub-file chunks. Multiple popular hash algorithms can be included at the same time."
Previous discussion:
Before seriously reviewing to merge as Draft, I would want to demonstrate working code and have a better idea what the API would look like, but this is otherwise pretty flushed out.
cc: @martinheidegger