crypto

package
v1.2.3 Latest Latest
Warning

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

Go to latest
Published: Jan 20, 2026 License: AGPL-3.0, AGPL-3.0-or-later Imports: 3 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)

func Sign

func Sign(privateKey ed25519.PrivateKey, message []byte) string

func Verify

func Verify(pubKeyHex string, message []byte, signatureHex string) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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