sha256

package
v0.0.0-...-63c65b4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 25, 2016 License: Apache-2.0, Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package sha256 provides SHA256SSE3, SHA256AVX, SHA256AVX2

Index

Constants

View Source
const BlockSize = 64

BlockSize - The blocksize of SHA256 in bytes.

View Source
const Size = 32

Size - The size of a SHA256 checksum in bytes.

Variables

This section is empty.

Functions

func New

func New() hash.Hash

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

func Sum256

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

Sum256 - single caller sha256 helper

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL