gocuelang.org/go/pkg/crypto/ed25519 Index | Files

package ed25519

import "cuelang.org/go/pkg/crypto/ed25519"

Index

Constants

const (
	// PublicKeySize is the size of a public key in bytes.
	PublicKeySize = 32
)

Functions

func Valid

func Valid(publicKey, message, signature []byte) (bool, error)

Valid verifies the provided signature of the message using the public key. An error is returned if and only if an invalid public key is provided.

Source Files

ed25519.go pkg.go

Version
v0.12.0 (latest)
Published
Jan 30, 2025
Platform
linux/amd64
Imports
5 packages
Last checked
7 hours ago

Tools for package owners.