signing

package
v0.0.0-...-dfb9311 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2020 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package signing implements unit signing using the NaCl library.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DecodePrivateKey

func DecodePrivateKey(enc string) (gomel.PrivateKey, error)

DecodePrivateKey decodes a private key encoded as a base64 string.

func DecodePublicKey

func DecodePublicKey(enc string) (gomel.PublicKey, error)

DecodePublicKey decodes a public key encoded as a base64 string.

func GenerateKeys

func GenerateKeys() (gomel.PublicKey, gomel.PrivateKey, error)

GenerateKeys produces a public and private key pair for signing units.

Types

This section is empty.

Jump to

Keyboard shortcuts

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