secconf

package
v0.0.0-...-b326d97 Latest Latest
Warning

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

Go to latest
Published: May 12, 2017 License: MIT Imports: 6 Imported by: 0

Documentation

Overview

Package secconf implements secconf encoding as specified in the following format:

base64(gpg(gzip(data)))

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Decode

func Decode(data []byte, secretKeyring io.Reader) ([]byte, error)

Decode decodes data using the secconf codec.

func Encode

func Encode(data []byte, keyring io.Reader) ([]byte, error)

Encode encodes data to a base64 encoded using the secconf codec. data is encrypted with all public keys found in the supplied keyring.

Types

This section is empty.

Jump to

Keyboard shortcuts

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