saltpack

package
v0.0.0-...-5d5bc44 Latest Latest
Warning

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

Go to latest
Published: May 22, 2018 License: Unlicense, BSD-3-Clause Imports: 8 Imported by: 0

Documentation

Index

Constants

View Source
const (
	KeySize = 32
)

Variables

View Source
var DecryptionErr = errors.New("Decryption error")

Functions

func MakeBoxKeyPairFromSecret

func MakeBoxKeyPairFromSecret(secret *memguard.LockedBuffer) (boxKeyPair, error)

func SaltpackDecrypt

func SaltpackDecrypt(source io.Reader, sink io.WriteCloser, keypair boxKeyPair) error

func SaltpackEncrypt

func SaltpackEncrypt(source io.Reader, sink io.WriteCloser, keypair boxKeyPair) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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