package secconf
import "github.com/sagikazarmark/crypt/encoding/secconf"
Package secconf implements secconf encoding as specified in the following format:
base64(gpg(gzip(data)))
Index ¶
- func Decode(data []byte, secertKeyring io.Reader) ([]byte, error)
- func Encode(data []byte, keyring io.Reader) ([]byte, error)
Functions ¶
func Decode ¶
Deocde decodes data using the secconf codec.
func Encode ¶
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 ¶
- Version
- v0.16.0
- Published
- Nov 29, 2023
- Platform
- darwin/amd64
- Imports
- 6 packages
- Last checked
- 39 minutes ago –
Tools for package owners.