8000 GitHub - cions/goenc: A simple file encryption tool
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

cions/goenc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

42 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goenc

GitHub Releases LICENSE CI Go Reference Go Report Card

A simple file encryption tool

Usage

$ goenc --help
Usage: goenc [OPTIONS] [INPUT] [OUTPUT]

A simple file encryption tool

Options:
  -e, --encrypt         Encrypt
  -d, --decrypt         Decrypt
  -n, --no-clobber      Do not overwrite an existing file
  -t, --time=N          Argon2 time parameter (default: 8)
  -m, --memory=N[KMG]   Argon2 memory parameter (default: 256M)
  -p, --parallelism=N   Argon2 parallelism parameter (default: 4)
  -r, --retries=N       Maximum number of attempts to enter password
                        (default: 3)
      --password-from=FILE
                        Read password from FILE
  -h, --help            Show this help message and exit
      --version         Show version information and exit

Environment Variables:
  PASSWORD              Encryption password

Installation

Download from GitHub Releases

Build from source

$ go install github.com/cions/goenc/cmd/goenc@latest

Algorithm

  • XChaCha20-Poly1305 for authenticated encryption
  • Argon2id for key derivation

License

MIT

About

A simple file encryption tool

Topics

Resources

License

Stars

Watchers

Forks

Languages

0