ed25519

package
v0.1.6 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2025 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateSignature

func GenerateSignature(privateKeyAsBase64, msg string) string

Returns signature in base64(to use it in transaction later)

func VerifySignature

func VerifySignature(stringMessage, base58PubKey, base64Signature string) bool

0 - message that was signed 1 - pubKey 2 - signature

Types

type Ed25519Box

type Ed25519Box struct {
	Mnemonic  string
	Bip44Path []uint32
	Pub, Prv  string
}

func GenerateKeyPair

func GenerateKeyPair(mnemonic, mnemonicPassword string, bip44DerivePath []uint32) Ed25519Box

Jump to

Keyboard shortcuts

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