encrypt

package
v0.0.0-...-d69477b Latest Latest
Warning

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

Go to latest
Published: Aug 21, 2020 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Encrypt

func Encrypt(value string, passphrase string, file bool) (string, error)

Encrypt encrypts the value of given value in yaml file

func File

func File(filepath string, passphrase string) error

File is used to encrypt contents of YAML file encrypted using our library contents to be encrypted should be formatted as follows eg: Username : Dec(tarun) Password : Dec(mypasskey)

Types

This section is empty.

Jump to

Keyboard shortcuts

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