tools

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Feb 7, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiffHash

func DiffHash(a Hash, b Hash) error

Types

type Hash

type Hash struct {
	B [][]byte
}

func NewHash

func NewHash() Hash

func (*Hash) HashToECP

func (baseHash *Hash) HashToECP() (*FP256BN.ECP, uint32, error)

func (*Hash) SumToBIG

func (h *Hash) SumToBIG() *FP256BN.BIG

func (*Hash) SumToBytes

func (h *Hash) SumToBytes() []byte

func (*Hash) WriteBIG

func (h *Hash) WriteBIG(n ...*FP256BN.BIG)

func (*Hash) WriteBytes

func (h *Hash) WriteBytes(n ...[]byte)

func (*Hash) WriteECP

func (h *Hash) WriteECP(n ...*FP256BN.ECP)

func (*Hash) WriteECP2

func (h *Hash) WriteECP2(n ...*FP256BN.ECP2)

Jump to

Keyboard shortcuts

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