encrypt

package
v0.0.0-...-9b40155 Latest Latest
Warning

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

Go to latest
Published: Jul 4, 2019 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(encrypted string, passphrase string) (plaintext string, err error)

Decrypt takes a iv.salt.encrypted paylod and returns the original data

func Encrypt

func Encrypt(plaintext string, passphrase string) (encrypted string, err error)

Encrypt returns a payload that is iv.salt.encrypteddata

Types

This section is empty.

Jump to

Keyboard shortcuts

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