hash

package
v1.0.6 Latest Latest
Warning

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

Go to latest
Published: Jan 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HMACFactory added in v1.0.2

type HMACFactory struct{}

func (HMACFactory) New added in v1.0.2

func (HMACFactory) New(method, secret string) hash.Hash

func (HMACFactory) Sum added in v1.0.2

func (f HMACFactory) Sum(method, secret string, buf ...base.Buffer) base.Buffer

type MD5Factory

type MD5Factory struct{}

func (MD5Factory) New

func (MD5Factory) New() hash.Hash

func (MD5Factory) Sum

func (MD5Factory) Sum(buf ...base.Buffer) base.Buffer

type SHA1Factory

type SHA1Factory struct{}

func (SHA1Factory) New

func (SHA1Factory) New() hash.Hash

func (SHA1Factory) Sum

func (SHA1Factory) Sum(buf ...base.Buffer) base.Buffer

type SHA256Factory

type SHA256Factory struct{}

func (SHA256Factory) New

func (SHA256Factory) New() hash.Hash

func (SHA256Factory) Sum

func (SHA256Factory) Sum(buf ...base.Buffer) base.Buffer

type SHA512Factory

type SHA512Factory struct{}

func (SHA512Factory) New

func (SHA512Factory) New() hash.Hash

func (SHA512Factory) Sum

func (SHA512Factory) Sum(buf ...base.Buffer) base.Buffer

Jump to

Keyboard shortcuts

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