sha256-simd – github.com/minio/sha256-simd Index | Files

package sha256

import "github.com/minio/sha256-simd"

Index

Constants

const BlockSize = 64

BlockSize - The blocksize of SHA256 in bytes.

const Size = 32

Size - The size of a SHA256 checksum in bytes.

Functions

func New

func New() hash.Hash

New returns a new hash.Hash computing the SHA256 checksum.

func Sum256

func Sum256(data []byte) (result [Size]byte)

Sum256 - single caller sha256 helper

Source Files

cpuid_other.go sha256.go sha256block_other.go

Version
v1.0.0
Published
Feb 22, 2021
Platform
js/wasm
Imports
7 packages
Last checked
now

Tools for package owners.