Registry / crypto / minio-sha256-simd

minio-sha256-simd

JSON →
library1.0.1gogounverified

Package sha256-simd provides hardware-accelerated SHA-256 hashing using SIMD instructions.

go get github.com/minio/sha256-simd
INSTALL
IMPORT
SIG · MINIO-SHA256-SIMD
M
minio-sha256-simd
cryptogov1.0.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

sha256
github.com/minio/sha256-simd

Compute SHA-256 hash using SIMD-accelerated implementation

package main import ( "fmt" "github.com/minio/sha256-simd" ) func main() { h := sha256.New() h.Write([]byte("hello")) fmt.Printf("%x\n", h.Sum(nil)) }
Debug
Known issues
gotchaThis package replaces the standard library's crypto/sha256; ensure compatibility with your platform.
fix
Use as a drop-in replacement; falls back to standard library if SIMD not available.
affects: all
Upgrade
Version history
1.0.1latest on pkg.go.dev
Audit
Dependencies

No dependency data recorded yet.

Agent activity
42 hits · last 30 days
node
40
Resources
minio-sha256-simd — go get minio-sha256-simd · libregistry