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.9.0-0.dev
Published
Mar 15, 2024
Platform
linux/amd64
Imports
5 packages
Last checked
16 minutes ago

Tools for package owners.