crypto

package
v0.0.0-...-3e6b536 Latest Latest
Warning

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

Go to latest
Published: Dec 5, 2024 License: AGPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateKeyPair

func GenerateKeyPair() (ed25519.PublicKey, ed25519.PrivateKey, error)

Types

type KeyManager

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

func GetKeyManagerInstance

func GetKeyManagerInstance() *KeyManager

func (*KeyManager) GetPrivateKey

func (k *KeyManager) GetPrivateKey() ed25519.PrivateKey

func (*KeyManager) GetPublicKey

func (k *KeyManager) GetPublicKey() ed25519.PublicKey

func (*KeyManager) ParseEd25519Key

func (k *KeyManager) ParseEd25519Key() error

Jump to

Keyboard shortcuts

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