blake256

package
v1.1.21 Latest Latest
Warning

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

Go to latest
Published: Sep 19, 2019 License: GPL-3.0 Imports: 1 Imported by: 0

Documentation

Overview

Package blake256 implements BLAKE-256 and BLAKE-224 hash functions (SHA-3 candidate).

Index

Constants

View Source
const BlockSize = 64

The block size of the hash algorithm in bytes.

View Source
const Size = 32

The size of BLAKE-256 hash in bytes.

View Source
const Size224 = 28

The size of BLAKE-224 hash in bytes.

Variables

This section is empty.

Functions

func DoubleBlake256

func DoubleBlake256(data []byte) []byte

func New

func New() hash.Hash

New returns a new hash.Hash computing the BLAKE-256 checksum.

func New224

func New224() hash.Hash

New224 returns a new hash.Hash computing the BLAKE-224 checksum.

func New224Salt

func New224Salt(salt []byte) hash.Hash

New224Salt is like New224 but initializes salt with the given 16-byte slice.

func NewSalt

func NewSalt(salt []byte) hash.Hash

NewSalt is like New but initializes salt with the given 16-byte slice.

Types

This section is empty.

Jump to

Keyboard shortcuts

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