ed2curve25519

package module
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 6, 2020 License: BSD-2-Clause Imports: 4 Imported by: 8

README

Ed25519 to Curve25519

Documentation

Overview

Package ed2curve25519 converts Ed25519 keys to Curve25519 keys. This package is a stop-gap solution until this code (or something written more elegantly by people who know what they are doing) ends up an official repository. The Github issue https://github.com/golang/go/issues/20504 has more information on this matter.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Ed25519PrivateKeyToCurve25519

func Ed25519PrivateKeyToCurve25519(pk ed25519.PrivateKey) []byte

Ed25519PrivateKeyToCurve25519 converts an Ed25519 private key to a Curve25519 private key

func Ed25519PublicKeyToCurve25519

func Ed25519PublicKeyToCurve25519(pk ed25519.PublicKey) []byte

Ed25519PublicKeyToCurve25519 converts an Ed25519 public key to a Curve25519 public key

Types

This section is empty.

Jump to

Keyboard shortcuts

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