ed25519

package
v0.0.0-...-85922c0 Latest Latest
Warning

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

Go to latest
Published: Jan 9, 2022 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ED25519Signer

type ED25519Signer struct{}

func (*ED25519Signer) Generate

func (s *ED25519Signer) Generate() ([]byte, error)

func (*ED25519Signer) Sign

func (s *ED25519Signer) Sign(priv, msg []byte) ([]byte, error)

func (*ED25519Signer) ToPublic

func (s *ED25519Signer) ToPublic(priv []byte) ([]byte, error)

func (*ED25519Signer) Verify

func (s *ED25519Signer) Verify(sig, publicKey, msg []byte) error

Jump to

Keyboard shortcuts

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