package secconf

import "github.com/bketelsen/crypt/encoding/secconf"

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

base64(gpg(gzip(data)))

Index

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.

Source Files

secconf.go

Version
v0.0.5 (latest)
Published
Oct 8, 2021
Platform
linux/amd64
Imports
6 packages
Last checked
6 hours ago

Tools for package owners.