sha256-simd
Languages and libraries
crypto library
SHOW HN2016
156points
86comments
#207of 2,264 in 2016
Top 10%of 2016 by points
How HN took it
CuriousMostly questions and neutral comments
3 positive, 17 neutral or asking, 1 mixed, 5 critical, out of 26 comments about the project. Thread score -0.13.
Execution: 3 for, 1 againstPerformance: 0 for, 3 againstIdea: 0 for, 1 against
The thread, comment by comment
Each row is a top-level comment and its replies, in HN's order. Select a cell to open that comment on HN.
positive neutral or mixed critical about another commenter or something else the maker
What HN said
What people liked
Nice share, looking forward to it
From 1 comment
Thanks this is a nice share, we are definitely looking forward to this.
y4m4b4 on HN
Objections
Go relies too much on hand-written assembly
From 2 comments
The amount of assembly in the Go ecosystem is crazy, ~1% of the standard library is assembly. There are better ways.
theparanoid on HNok mentioning Go here is a bit pointless. How did Go help compared to any other language when Arm has hardware instructions for SHA1&2?
anonymous7777 on HN
SHA256 is too fast for password storage
From 2 comments
> but I'm not sure how this illustrates that SHA2 just got even faster, so it illustrates rather well that you wouldn't want to use it for password storage -- of course that was…
niftich on HNIf you're using any hash directly for password storage you're doing it wrong, regardless of the specifics. PBKDF2-SHA2 with a reasonably high amount of rounds (>100000) is still…
creshal on HN
Questions
Can this be used to mine bitcoin cheaper than an ASIC
From 1 comment
So with hardware sha256, can this mine bitcoin cheaper than an ASIC?
gnaritas on HN
Alternatives named
SHA512 and Blake2b
From 2 comments
Did you compare performance to SHA512? Despite being a theoretically more secure/"harder" algorithm, on 64 bit platforms it can sometimes be faster than SHA256. If you don't want…
DanielDent on HNYes true. OpenSSL version gives a great boost. Rather than SHA512 we ended up using Blake2b - https://github.com/minio/blake2b-simd (also optimized with SIMD instructions)…
y4m4b4 on HN
OpenSSL
From 1 comment
SHA-512 should be much faster than SHA-256 on AVX2-capable processors. Go's implementation is subpar; try OpenSSL instead. On Skylake, SHA-512 is about as fast as MD5 now --…
pbsd on HN