eddsa

package
v1.12.0 Latest Latest
Warning

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

Go to latest
Published: Aug 13, 2026 License: MIT Imports: 7 Imported by: 3

Documentation

Index

Constants

View Source
const Name = "EdDSA"

Variables

This section is empty.

Functions

This section is empty.

Types

type Method

type Method struct {
	PrivateKey ed25519.PrivateKey
	PublicKey  ed25519.PublicKey
}

func FromPem

func FromPem(pemKey string) (*Method, error)

func (*Method) GetName

func (method *Method) GetName() string

func (*Method) Sign

func (method *Method) Sign(message []byte) ([]byte, error)

func (*Method) Verify

func (method *Method) Verify(message []byte, signature []byte) error

Jump to

Keyboard shortcuts

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