Skip to content

Go package blake512 implements BLAKE-512 and BLAKE-384 hash functions (SHA-3 finalist).

Notifications You must be signed in to change notification settings

dchest/blake512

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Package blake512

import "github.com/dchest/blake512"

Package blake256 implements BLAKE-512 and BLAKE-384 hash functions (SHA-3 candidate).

Public domain / Creative Commons Zero.

Constants

const BlockSize = 128

The block size of the hash algorithm in bytes.

const Size = 64

The size of BLAKE-512 hash in bytes.

const Size384 = 48

The size of BLAKE-384 hash in bytes.

Functions

func New

func New() hash.Hash

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

func New384

func New384() hash.Hash

New384 returns a new hash.Hash computing the BLAKE-384 checksum.

func New384Salt

func New224Salt(salt []byte) hash.Hash

New384Salt is like New384 but initializes salt with the given 32-byte slice.

func NewSalt

func NewSalt(salt []byte) hash.Hash

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

About

Go package blake512 implements BLAKE-512 and BLAKE-384 hash functions (SHA-3 finalist).

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages