TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

BLAKE2: “Harder, Better, Faster, Stronger” Than MD5

122 pointsby lebekabout 11 years ago

12 comments

kastnerkyleabout 11 years ago
Can someone who knows crypto shed some light on the "gravity" of this algorithm? Is this going to out and out replace MD5, or will it fall among the many "awesome, but not widely used" hashes out there? It sounds pretty awesome... almost too awesome!
评论 #7446658 未加载
评论 #7446636 未加载
dionyzizabout 11 years ago
These reasons don't matter. What matters is that you use a widely used hash function through a widely used software library. Most security issues are implementation-related, not cryptography-related. And if there are problems with a scheme, more people should look for them. SHA2/3 are better options under this light.
评论 #7448445 未加载
评论 #7448944 未加载
habermanabout 11 years ago
Glad I came across this -- I have a need for a hash function with cryptographic properties but that I don't actually mean to use for crypto, but just to uniquely identify a file by its contents. Speed is really important to me. This sounds perfect for my application.
评论 #7450450 未加载
keeperofdakeysabout 11 years ago
This author almost completely misses the point. The basic architecture behind SHA-2 is similar to MD5 and SHA-1, and the fact that attacks are possible on MD5 and SHA-1 means an attack could be possible on SHA-2. Then if SHA-3 used the same architecture again, a weakness in SHA-2 might lead to a weakness SHA-3. Then both SHA-2 and SHA-3 are insecure.<p>Since SHA-3 is now based on a totally different architecture, any weakness in SHA-2 has no effect for SHA-3. At the same time, if someone does find an attack against SHA-3, SHA-2 is still secure.
shin_laoabout 11 years ago
Because SHA3 is the standard, we&#x27; re going to see hardware implementations of it and a lot of research will go into its software implementation.<p>If you care about performance, stick to the standard.<p>Another commenter also rightly pointed out that SHA3 implementations will be more scrutinized, and therefore more secure. Exploitable security issues lie rarely in the algorithm.<p>Long story short: stick to the standard.
评论 #7448539 未加载
评论 #7448545 未加载
评论 #7448398 未加载
bwooceabout 11 years ago
Go impl: <a href="https://github.com/dchest/blake2b" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;dchest&#x2F;blake2b</a>
评论 #7448754 未加载
NathanKPabout 11 years ago
For those using Node.js who are interesting in trying out BLAKE2, I found this module:<p><a href="https://github.com/sekitaka/node-blake2" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;sekitaka&#x2F;node-blake2</a><p>I hasn&#x27;t been touched in a year, but it looks fairly good. I may try it out soon to see how it performs myself.
Goopplesoftabout 11 years ago
Excuse my lack of knowledge on the subject. I know MD5 has it cryptographic security issues [1] but I almost always assumed that the main reason it was a &#x27;weak&#x27; hash was due to it&#x27;s speed and how, consequently, rainbow tables we&#x27;re readily available. If this premise is correct, wouldn&#x27;t that inherently make Blake2 less strong&#x2F;secure since its faster?<p>[1] <a href="http://en.wikipedia.org/wiki/MD5#Security" rel="nofollow">http:&#x2F;&#x2F;en.wikipedia.org&#x2F;wiki&#x2F;MD5#Security</a>
评论 #7447007 未加载
评论 #7446920 未加载
评论 #7446907 未加载
评论 #7446956 未加载
kzrdudeabout 11 years ago
BLAKE2 seems like a good fit for btrfs checksums -- I&#x27;m not sure why they haven&#x27;t implemented alternatives beyond their default crc32c yet.
评论 #7447194 未加载
bbanycabout 11 years ago
For non-cryptographic applications that don&#x27;t require top-grade security, but do want a short reasonably-unique identifier for a file to detect duplicates, MD5&#x27;s speed and ubiquity made it a natural choice. This is the first thing I&#x27;ve seen aimed at restoring some security to that particular niche.
评论 #7447003 未加载
评论 #7450456 未加载
orasisabout 11 years ago
Than MD5??? Weak marketing.
评论 #7447320 未加载
ankitmlabout 11 years ago
Harder, Better, Faster, Stronger<p>Sounds like MD5 on viagra.
评论 #7448639 未加载