hash

package
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 25, 2019 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Compute

func Compute(hash hash.Hash, data []byte, more ...[]byte) ([]byte, error)

Compute computes the hash value for given data.

func Verify

func Verify(hash hash.Hash, value []byte, data []byte, more ...[]byte) (bool, error)

Verify reports whether the value equals to the hash value of given data.

Types

This section is empty.

Jump to

Keyboard shortcuts

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