ed25519util

package
v0.0.0-...-249e25c Latest Latest
Warning

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

Go to latest
Published: Jun 10, 2025 License: AGPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func KeyToCurve25519

func KeyToCurve25519(k *key.Key) *key.Key

func PrivateKeyToCurve25519

func PrivateKeyToCurve25519(curve25519Private *[32]byte, privateKey *[64]byte)

PrivateKeyToCurve25519 converts an ed25519 private key to a curve25519 private key

func PublicKeyToCurve25519

func PublicKeyToCurve25519(curve25519Public, publicKey *[32]byte)

PublicKeyToCurve25519 converts an ed25519 public key to a curve25519 public key according to rfc 7748 section 4.1

Types

This section is empty.

Jump to

Keyboard shortcuts

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