Live data from Hacker News

Show HN: Accelerating SHA256 by 100x in Golang on ARM

blog.minio.io

1–10 of 93 posts

Re: Show HN: Accelerating SHA256 by 100x in Golang on ARM

#4

Are aes instructions new in aarch64 processors? I'm surprised this doesn't work magically "out of the box", but I'm not up to date with this stuff. Also, this is another really good reason never to use a sha2 as your hashing algo for password storage.

AES and SHA2 are completely different algorithms.

> Also, this is another really good reason never to use a sha2 as your hashing algo for password storage.

I don't know what you mean by this. I understand that SHA2 is poor for some things, but I'm not sure how this illustrates that.

Re: Show HN: Accelerating SHA256 by 100x in Golang on ARM

#5
post #4

Are aes instructions new in aarch64 processors? I'm surprised this doesn't work magically "out of the box", but I'm not up to date with this stuff. Also, this is another really good reason never to use a sha2 as your hashing algo for password storage.

AES and SHA2 are completely different algorithms. > Also, this is another really good reason never to use a sha2 as your hashing algo for password storage. I don't know what you mean by this. I understand that SHA2 is poor for some things, but I'm not sure how this illustrates that.

> 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 always true, but the improvement drives that point home.

Re: Show HN: Accelerating SHA256 by 100x in Golang on ARM

#7
post #3

... by moving from a software implementation to a mostly hardware one. ;) Still a worthwhile article but the title seemed to make me think of implementation/algorithm changes.

Most of crypto hashes implementations in Go are hand written assembly for specific platforms.

Re: Show HN: Accelerating SHA256 by 100x in Golang on ARM

#9
post #4

Are aes instructions new in aarch64 processors? I'm surprised this doesn't work magically "out of the box", but I'm not up to date with this stuff. Also, this is another really good reason never to use a sha2 as your hashing algo for password storage.

AES and SHA2 are completely different algorithms. > Also, this is another really good reason never to use a sha2 as your hashing algo for password storage. I don't know what you mean by this. I understand that SHA2 is poor for some things, but I'm not sure how this illustrates that.

It was a typo in my post, I meant sha2 and not AES.
Post reply on HN