crypto

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 9, 2017 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(password []byte, encryptedSecrets Encrypted) ([]secret.Secret, error)

Types

type Encrypted

type Encrypted struct {
	Data  string
	Nonce string
	Salt  string
}

func Encrypt

func Encrypt(password []byte, secrets []secret.Secret) Encrypted

Jump to

Keyboard shortcuts

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