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.

Hash functions and block ciphers

39 pointsby cgs1019almost 14 years ago

4 comments

tptacekalmost 14 years ago
I like a lot of what Bob Jenkins writes, and I think(?) I may still be using his hash table library as my hash_t in my C code, but I still wouldn't use anything he designed in place of SHA256 or AES; so, just that word of caution.
评论 #2728845 未加载
brugidoualmost 14 years ago
i think it's worth pointing out the new murmurhash 3 for lookup table hashing, it has gone a long way and is supposed to be _really_ fast: <a href="http://code.google.com/p/smhasher/" rel="nofollow">http://code.google.com/p/smhasher/</a><p>The author of murmurhash actually based their work on Bob Jenkin's trying to make it speedier, and developed a nice hash test suite.
bajsejohannesalmost 14 years ago
&#62; Also, % can be extremely slow (230 times slower than addition on a Sparc).<p>This is surprising. For comparison, I did a test on my Intel Core 2 Duo. Modulo turned out to be about 8.5 times slower than addition. A lot better than Sparc, but it might still be to slow for certain applications.
chanuxalmost 14 years ago
Doesn't load for me.<p>Google cache here : <a href="http://webcache.googleusercontent.com/search?client=ubuntu&#38;channel=fs&#38;q=cache%3Ahttp%3A%2F%2Fburtleburtle.net%2Fbob%2Fhash%2F&#38;ie=utf-8&#38;oe=utf-8" rel="nofollow">http://webcache.googleusercontent.com/search?client=ubuntu&#...</a>