app

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: May 6, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Package app presents a demo application of the how the crypt package may be used.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DecryptCommand

type DecryptCommand struct {
	command.FlagCommandBase
}

A command for decrypting ciphertext files. Supports both password and file-based keys.

func NewDecryptCommand

func NewDecryptCommand() *DecryptCommand

Create a new Decrypt command.

func (DecryptCommand) Run

func (cmd DecryptCommand) Run(args []string) error

Run the command. See usage for details.

type EncryptCommand

type EncryptCommand struct {
	command.FlagCommandBase
}

A command for encrypting plaintext files. Supports both password and file-based keys.

func NewEncryptCommand

func NewEncryptCommand() *EncryptCommand

Create a new Encrypt command.

func (EncryptCommand) Run

func (cmd EncryptCommand) Run(args []string) error

Run the command. See usage for details.

type KeyGenCommand

type KeyGenCommand struct {
	command.FlagCommandBase
}

A command for generating a new keyfile. Supports 128, 192, and 256-bit keys.

func NewKeyGenCommand

func NewKeyGenCommand() *KeyGenCommand

Create a new KeyGen command.

func (KeyGenCommand) Run

func (cmd KeyGenCommand) Run(args []string) error

Run the command. See usage for details.

Jump to

Keyboard shortcuts

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