crypto

package
v4.0.0+incompatible Latest Latest
Warning

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

Go to latest
Published: Nov 17, 2018 License: MIT Imports: 9 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
	Params map[string]int
}

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