hash

package
v0.0.0-...-c5655c4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2017 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Factory

type Factory interface {
	New() hash.Hash
	Type() Type
}

Factory defines the record hash factory interface

type Type

type Type int

Type defines the kind of hash

const (
	// NoOp type for no op hash
	NoOp Type = iota

	// SHA256 type for SHA2 hashing
	SHA256

	// MD5 type for MD5 hashing
	MD5

	// Adler32 type for adler32 CRC
	Adler32
)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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