gpg

package
v0.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2018 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decrypt

func Decrypt(f io.Reader, secretKeyring, defaultGPGKey string) (io.Reader, error)

Decrypt a io.Reader with the given secretKeyring. You can optionally pass a defaultGPGKey to use for the decryption, otherwise it will use the first entity.

func Encrypt

func Encrypt(b []byte, publicKeyring string) ([]byte, error)

Encrypt a byte with the given publicKeyring.

Types

This section is empty.

Jump to

Keyboard shortcuts

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