goenc

package module
v0.4.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 7, 2021 License: MIT Imports: 15 Imported by: 0

README

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

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrInvalidTag = errors.New("message authentication failed (password is wrong or data is corrupted)")

Functions

func Main added in v0.4.0

func Main(args []string) error

Types

This section is empty.

Directories

Path Synopsis
cmd

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL