hashutil

package
v0.0.0-...-53d1009 Latest Latest
Warning

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

Go to latest
Published: Jul 8, 2017 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const Size = blake2b.Size

Size maximum digest size which same as blake2b.Size.

Variables

This section is empty.

Functions

func EncodeToString

func EncodeToString(b []byte) string

EncodeToString returns the hexadecimal encoded string of blake2b hashed b.

func NewHash

func NewHash(b []byte) [Size]byte

NewHash converts the b to blake2b sum512 hash.

func NewHashString

func NewHashString(s string) [Size]byte

NewHashString converts the s to blake2b sum512 hash.

Types

This section is empty.

Jump to

Keyboard shortcuts

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