hash

package
v0.0.0-...-4e6bda9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func String

func String(pieces ...[]byte) string

Types

type Sig

type Sig [sha1.Size]byte

func FromString

func FromString(str string) (Sig, error)

func Hash

func Hash(pieces ...[]byte) Sig

func (*Sig) String

func (sig *Sig) String() string

func (*Sig) Truncate64

func (sig *Sig) Truncate64() int64

Truncate64 returns first 64 bits of the hash as int64.

Jump to

Keyboard shortcuts

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