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.go cpuid_other.go sha256.go sha256block_other.go

Version
v0.1.1
Published
Sep 13, 2019
Platform
js/wasm
Imports
4 packages
Last checked
now

Tools for package owners.