Categorygithub.com/goasm/zenc
repositorypackage
0.0.0-20220320150906-33c2f396cf53
Repository: https://github.com/goasm/zenc.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# README

ZENC

Build Status

ZENC is a command-line tool, a library and also a file format for data encryption.

Installation

go get -u github.com/goasm/zenc/cmd/zenc

Usage

Via command

zenc [OPTION...] FILE
OptionShorthandDescription
--help-hprint help message
--encrypt-eencrypt file
--decrypt-ddecrypt file
--passwd-ppassword to be applied
--output-ofile to write output

Programmatically

go get -u github.com/goasm/zenc
var err error
// encryption
err = zenc.EncryptFile(reader, writer, password)
// or decryption
err = zenc.DecryptFile(reader, writer, password)

License

The MIT License.