secconf

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Sep 1, 2021 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