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.8.0-alpha.4
Published
Feb 29, 2024
Platform
darwin/amd64
Imports
5 packages
Last checked
1 hour ago

Tools for package owners.