hash

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Sep 25, 2019 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KECCAK256_HASH_SIZE_BYTES = 32
)
View Source
const (
	SHA256_HASH_SIZE_BYTES = 32
)

Variables

This section is empty.

Functions

func CalcKeccak256 added in v0.7.1

func CalcKeccak256(data []byte) primitives.Keccak256

func CalcSha256

func CalcSha256(data ...[]byte) primitives.Sha256

func Make32BytesWithFirstByte added in v1.2.1

func Make32BytesWithFirstByte(firstByteValue int) []byte

func Make32EmptyBytes added in v1.2.1

func Make32EmptyBytes() []byte

func MakeBytesWithFirstByte added in v1.2.1

func MakeBytesWithFirstByte(size int, firstByteValue int) []byte

func MakeEmptyLenBytes added in v1.2.1

func MakeEmptyLenBytes() []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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