4 ms·
For comparison with other checksums you should look here https://github.com/minio/sha256-simd#comparison-to-other-hashing-techniques https://github.com/minio/s
by y4m4b4 10y ago
For comparison with other checksums you should look here
https://github.com/minio/sha256-simd#comparison-to-other-hashing-techniques https://github.com/minio/sha256-simd#comparison-to-other-has...
- pbsd 10y agoSHA-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 -- https://bench.cr.yp.to/results-hash.html#amd64-skylake https://bench.cr.yp.to/results-hash.html#amd64-skylake
- y4m4b4 10y agoYes true. OpenSSL version gives a great boost. Rather than SHA512 we ended up using Blake2b - https://github.com/minio/blake2b-simd https://github.com/minio/blake2b-simd (also optimized with SIMD instructions) internally for bit-rot verification in https://github.com/minio/minio https://github.com/minio/minio