crypto

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

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(nonceAndCiphertextEnvelope []byte, password string) ([]byte, error)

func Encrypt

func Encrypt(plaintext []byte, password string) ([]byte, error)

envelope = <24 bytes of nonce> <ciphertext>

func Pbkdf2Sha256100kDerive

func Pbkdf2Sha256100kDerive(key []byte, salt []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