hash

package
v0.0.0-...-be3778f Latest Latest
Warning

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

Go to latest
Published: Aug 10, 2020 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FromSigner

func FromSigner(hash crypto.Hash) (name string)

FromSigner converts a crypto.Hash value to a string representation.

func SupportedSigner

func SupportedSigner() []crypto.Hash

SupportedSigner returns a slice of supported crypto.Hash.

func ToSigner

func ToSigner(name string) (hash crypto.Hash)

ToSigner converts a string representation to a crypto.Hash (or nil if unable to do so).

Types

This section is empty.

Jump to

Keyboard shortcuts

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