ed25519

package
v1.3.4 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: Apache-2.0, MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKeyPair

func GenerateKeyPair() (ed25519.PublicKey, []byte)

func GenerateKeyPairWithSeed

func GenerateKeyPairWithSeed(seed []byte) (ed25519.PublicKey, []byte)

func RetrievePubKey

func RetrievePubKey(seed []byte) ed25519.PublicKey

func Sign

func Sign(seed []byte, plainBytes []byte) []byte

func Verify

func Verify(pub ed25519.PublicKey, plainBytes, cipherBytes []byte) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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