utils

package
v0.0.0-...-0fb7b88 Latest Latest
Warning

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

Go to latest
Published: Feb 13, 2021 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenSeed

func GenSeed(filepath string) error

GenSeed generates an ed25519 seed of 32 bytes which is the identity of the pairmint node. This seed corresponds to RFC 8032's private key.

func LoadKeypair

func LoadKeypair(filepath string) (ed25519.PrivateKey, ed25519.PublicKey, error)

LoadKeypair generates an ed25519 keypair from the seed located at the given file path.

Types

This section is empty.

Jump to

Keyboard shortcuts

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