verifier

package
v0.0.0-...-8eea3e4 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Ed25519Verifier

type Ed25519Verifier struct {
	// contains filtered or unexported fields
}

func NewEd25519Verifier

func NewEd25519Verifier(pubKey []byte) (*Ed25519Verifier, error)

func (*Ed25519Verifier) Verify

func (v *Ed25519Verifier) Verify(message []byte, signature []byte) bool

type VerifierI

type VerifierI interface {
	Verify(message []byte, signature []byte) bool
}

Jump to

Keyboard shortcuts

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