aghash

package module
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2019 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hash

func Hash(i interface{}) ([]byte, error)

Hash computes a hash of the provided object

func HashBase64

func HashBase64(i interface{}) (string, error)

HashBase64 computes a string hash of the provided object

func HashHex

func HashHex(content []byte) (string, error)

HashHex takes a hash and encodes hash into hex

func HashSet

func HashSet(elems ...interface{}) ([]byte, error)

HashSet computes a hash of the provided set of objects. Hash will have the same value regardless of objects order.

func HashSetBase64

func HashSetBase64(elems ...interface{}) (string, error)

HashSetBase64 computes a string hash of the provided set of objects

Types

This section is empty.

Jump to

Keyboard shortcuts

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