Hacker News new | past | comments | ask | show | jobs | submit login

> (On a given architecture)

Yes this is a good caveat. When I've tried the OpenSSL implementations on older ARM chips (a Raspberry Pi Zero), I've seen MD5 come out on top. I'm not sure exactly why it switches.




I think they're just inverted on x86 because it provides hardware acceleration for SHA-1 and SHA-2.

https://en.wikipedia.org/wiki/Intel_SHA_extensions

https://github.com/openssl/openssl/blob/master/crypto/sha/as...


I find SHA-1 to be faster than MD5 on Skylake, which does not have the SHA extensions.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: