algorithm

package
v0.0.0-...-84d53aa Latest Latest
Warning

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

Go to latest
Published: Jun 17, 2019 License: GPL-3.0 Imports: 1 Imported by: 24

Documentation

Index

Constants

View Source
const (
	// SECP256K1 a type of signer
	SECP256K1 CryptoAlgorithm = 1
	// SHA3256 a type of hash
	SHA3256 HashAlgorithm = 2
)

Variables

View Source
var (
	ErrInvalidHashAlgorithm   = errors.New("invalid hash algorithm")
	ErrInvalidCryptoAlgorithm = errors.New("invalid crypto algorithm")
)

Error types of algorithm package.

Functions

This section is empty.

Types

type CryptoAlgorithm

type CryptoAlgorithm uint8

CryptoAlgorithm type alias

type HashAlgorithm

type HashAlgorithm uint8

HashAlgorithm type alias

Jump to

Keyboard shortcuts

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