# minio/sha256-simd

Accelerate SHA256 computations in pure Go using  AVX512, SHA Extensions for x86 and ARM64 for ARM. On AVX512 it provides an up to 8x improvement (over 3 GB/s per core). SHA Extensions give a performance boost of close to 4x over native.

Repository: https://github.com/minio/sha256-simd
Canonical: https://ross.abutalabs.com/products/sha256-simd
Language: Go
License: Apache-2.0
License Family: permissive
Topics: avx, intel, arm, assembly, golang, avx-instructions, plan9, avx512
Last push: 2023-05-24T07:54:41+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 3700, "days_push": 1197, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1040, forks 132 (observed 2026-08-28T04:03:20.134225+00:00)

## What it is
A pure Go library that accelerates SHA256 hashing using hardware instructions: AVX512 and Intel SHA Extensions on x86, and ARM64 Cryptography Extensions. It is designed as a drop-in replacement for the standard crypto/sha256 package, offering up to 8x speedups on AVX512 hardware.

## Use cases
- speed up sha256 hashing in go
- hardware-accelerated sha256 replacement for crypto/sha256
- fast checksum computation on avx512 cpus
- parallel sha256 hashing for server workloads
- use arm sha2 instructions in go

## When to choose
- your go application hashes large volumes of data with SHA256 and CPU acceleration is available
- you need a drop-in crypto/sha256 replacement with better throughput
- you run multi-threaded server workloads that can exploit AVX512 multi-buffer hashing

## When to avoid
- your target CPUs lack AVX512, Intel SHA Extensions, or ARM64 SHA2 instructions
- you hash small messages in a single thread where the AVX512 multi-buffer approach cannot help
- you need hashes other than SHA256

## Facets
- artifact type: library
- maturity: maintenance
- function: cryptography, security
- domain: security, developer-tools, performance
- platform: go, windows, cross-platform
- tags: sha256, simd, avx512, assembly, hardware-acceleration, hashing, linux, macos

## Member repositories
- minio/sha256-simd (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:20.134225+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T07:03:31.257586+00:00, confidence not recorded.
  - readme: https://github.com/minio/sha256-simd (fetched 2026-08-28T04:03:20.134225+00:00, sha 6f2ead36e22d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
