c25519

package
v0.22.5 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2020 License: GPL-3.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenSK

func GenSK() [32]byte

GenSK makes a new Curve25519 secret key.

func GenSKWithSeed

func GenSKWithSeed(seed []byte) [32]byte

GenSKWithSeed makes a new Curve25519 secret key from a seed.

func ToPK added in v0.21.0

func ToPK(sk [32]byte) [32]byte

ToPK converts a secret key to a 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