hash

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Aug 20, 2018 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Overview

Package hash contains Writer interface and SHA3 hasher.

hash.Writer intended to be implemented by records for proper hashing.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SHA3hash224

func SHA3hash224(hw ...Writer) []byte

SHA3hash224 returns SHA3 hash calculated on data received from Writer.

Types

type Writer

type Writer interface {
	WriteHash(io.Writer)
}

Writer is the interface that wraps the WriteHash method.

WriteHash should write all required for proper hashing data to io.Writer.

Jump to

Keyboard shortcuts

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