eddsa

package
v0.0.0-...-9a2979d Latest Latest
Warning

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

Go to latest
Published: Jun 3, 2021 License: Apache-2.0 Imports: 4 Imported by: 6

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseEdPrivateKeyFromPEM

func ParseEdPrivateKeyFromPEM(key []byte) (*ed25519.PrivateKey, error)

func ParseEdPublicKeyFromPEM

func ParseEdPublicKeyFromPEM(key []byte) (*ed25519.PublicKey, error)

Types

type SigningMethodEd25519

type SigningMethodEd25519 struct{}
var (
	SigningMethodEdDSA *SigningMethodEd25519
)

func (*SigningMethodEd25519) Alg

func (m *SigningMethodEd25519) Alg() string

func (*SigningMethodEd25519) Sign

func (m *SigningMethodEd25519) Sign(signingString string, key interface{}) (string, error)

func (*SigningMethodEd25519) Verify

func (m *SigningMethodEd25519) Verify(signingString, signature string, key interface{}) error

Jump to

Keyboard shortcuts

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