diff options
author | https://id.koumbit.net/anarcat <https://id.koumbit.net/anarcat@web> | 2015-02-13 15:59:46 +0000 |
---|---|---|
committer | admin <admin@branchable.com> | 2015-02-13 15:59:46 +0000 |
commit | 5c0254221e3425779b55df6718a6a789299121ed (patch) | |
tree | 806d1d4ca194541d1722e18f4bd3b96de00d6d4b /doc/internals | |
parent | 43d2939ebb4b0a00db17cb6e39c85ed3f8dde2f9 (diff) |
Added a comment: why md5sum?
Diffstat (limited to 'doc/internals')
-rw-r--r-- | doc/internals/hashing/comment_5_b0cb207a85cda5a0ff2ea71caca22c0d._comment | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/internals/hashing/comment_5_b0cb207a85cda5a0ff2ea71caca22c0d._comment b/doc/internals/hashing/comment_5_b0cb207a85cda5a0ff2ea71caca22c0d._comment new file mode 100644 index 000000000..80db7abcc --- /dev/null +++ b/doc/internals/hashing/comment_5_b0cb207a85cda5a0ff2ea71caca22c0d._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="https://id.koumbit.net/anarcat" + subject="why md5sum?" + date="2015-02-13T15:59:46Z" + content=""" +why the extra processing to generate the hashing directories? + +we already have a hash here, for example, `SHA256E-s8242375--5f82490990812ad3feabb02355750710a9d94283ab256d1c691c3bf8d7d9fbe3.ogg` has a loon `5f82490990812ad3feabb02355750710a9d94283ab256d1c691c3bf8d7d9fbe3` hash. Why not use the first characters of that? This is will not change for a give file, and has a higher chance of generating collisions (which is a good thing here, because we can reuse directories). + +In other words, why aren't the hashes of `SHA256E-s8242375--5f82490990812ad3feabb02355750710a9d94283ab256d1c691c3bf8d7d9fbe3.ogg` simply `5f8/249`? --[[anarcat]] +"""]] |