goenc

package module
v0.4.4 Latest Latest
Warning

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

Go to latest
Published: Jan 6, 2022 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("tag verification failed (password is wrong or data is corrupted)")

ErrInvalidTag if tag verification failed

Functions

func Main added in v0.4.0

func Main(args []string) error

Main runs the command

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