secconf

package
v0.0.0-...-a27db15 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 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, secertKeyring io.Reader) ([]byte, error)

Deocde 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