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
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
Option | Shorthand | Description |
---|---|---|
--help | -h | print help message |
--encrypt | -e | encrypt file |
--decrypt | -d | decrypt file |
--passwd | -p | password to be applied |
--output | -o | file 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.