encryption

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: Jul 3, 2017 License: MPL-2.0 Imports: 5 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EncryptValue

func EncryptValue(encryptionKey, value, description string) (string, string, error)

EncryptValue encrypts the given value with the given encryption key. Description should be set such that errors return a meaningful user-facing response.

func RetrieveGPGKey

func RetrieveGPGKey(pgpKey string) (string, error)

RetrieveGPGKey returns the PGP key specified as the pgpKey parameter, or queries the public key from the keybase service if the parameter is a keybase username prefixed with the phrase "keybase:"

Types

This section is empty.

Jump to

Keyboard shortcuts

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