Skip to content
/ goenc Public

A simple file encryption tool

License

Notifications You must be signed in to change notification settings

cions/goenc

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

34 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

goenc

GitHub Releases LICENSE CI Go Reference Go Report Card

A simple file encryption tool

Usage

$ goenc [-d] [<input>] [<output>]

Password can be passed by the environment variable PASSWORD.

$ PASSWORD=<password> goenc [-d] <input> <output>

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