crypto

package
v0.0.0-...-856106c Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2019 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(ciphertext, password string) string

func Encrypt

func Encrypt(text, password string) string

func GenerateKey

func GenerateKey() (string, error)

func GetKey

func GetKey(keyPath, keyName string) (string, error)

func SaveKey

func SaveKey(keyPath, keyName, key string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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