crypt

package
v0.0.0-...-b78cc59 Latest Latest
Warning

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

Go to latest
Published: Oct 16, 2016 License: ISC Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(key, nonce, ciphertext []byte) ([]byte, error)

func Encrypt

func Encrypt(key, nonce, cleartext []byte) ([]byte, error)

func NewKey

func NewKey(salt, password []byte) []byte

func NewNonce

func NewNonce() []byte

Types

This section is empty.

Jump to

Keyboard shortcuts

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