ztcrypto

package
v0.0.0-...-458eff6 Latest Latest
Warning

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

Go to latest
Published: Feb 2, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ComputeZeroTierIdentityMemoryHardHash

func ComputeZeroTierIdentityMemoryHardHash(publicKey []byte) []byte

func GenerateDualPair

func GenerateDualPair() (pub [64]byte, priv [64]byte)

GenerateDualPair generates a key pair containing two pairs: one for curve25519 and one for ed25519.

func SignMessage

func SignMessage(pub [64]byte, priv [64]byte, msg []byte) ([96]byte, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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