sha2

package
v0.0.0-...-0753302 Latest Latest
Warning

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

Go to latest
Published: Aug 7, 2022 License: MIT Imports: 0 Imported by: 3

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListAlgorithms

func ListAlgorithms() []string

func RegisterAlgorithm

func RegisterAlgorithm(name string, factory func() SumNumberAlgorithm)

Types

type SumNumberAlgorithm

type SumNumberAlgorithm interface {
	Sum256Number(data []byte) int64
	Sum256NumberCmp(data []byte, work int64) bool
}

func NewAlgorithmInstance

func NewAlgorithmInstance(name string) SumNumberAlgorithm

Directories

Path Synopsis
deprecated
asm

Jump to

Keyboard shortcuts

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