seal

package
v0.0.0-...-a99b56a Latest Latest
Warning

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

Go to latest
Published: May 12, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Appdir

func Appdir() string

func DeriveKey

func DeriveKey(passphrase []byte) []byte

func Open

func Open(privateKey *[32]byte, ctxt []byte) ([]byte, error)

func PublicKey

func PublicKey(privateKey *[32]byte) *[32]byte

func ReadPrivateKey

func ReadPrivateKey(path string) (name string, privateKey *[32]byte)

func ReadPublicKey

func ReadPublicKey(path string) (name string, publicKey *[32]byte)

func Seal

func Seal(publicKey *[32]byte, msg []byte) []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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