cryptography

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 28, 2022 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdDecrypt

func NewCmdDecrypt(ctx *context.Context) *cobra.Command

NewCmdDecrypt creates the `decrypt` command

func NewCmdDecryptFile added in v1.0.6

func NewCmdDecryptFile(ctx *context.Context) *cobra.Command

NewCmdDecryptFile creates the `decryptFile` command

func NewCmdEncrypt

func NewCmdEncrypt(ctx *context.Context) *cobra.Command

NewCmdEncrypt creates the `encrypt` command

func NewCmdEncryptFile added in v1.0.6

func NewCmdEncryptFile(ctx *context.Context) *cobra.Command

NewCmdEncryptFile creates the `encryptFile` command

func NewCmdGenPassphrase added in v1.0.3

func NewCmdGenPassphrase(ctx *context.Context) *cobra.Command

NewCmdGenPassphrase creates the `genPassphrase` command

func NewCryptographyCmd

func NewCryptographyCmd(ctx *context.Context) *cobra.Command

NewCryptographyCmd creates the `cryptography` command

Types

type DecryptFileOptions added in v1.0.6

type DecryptFileOptions struct {
	KeyFile        string
	FilePath       string
	OutputFilePath string
}

DecryptFileOptions defines flags and other configuration parameters for the `decryptFile` command

type DecryptOptions

type DecryptOptions struct {
	KeyFile string
	Message string
}

DecryptOptions defines flags and other configuration parameters for the `decrypt` command

type EncryptFileOptions added in v1.0.6

type EncryptFileOptions struct {
	KeyFile        string
	FilePath       string
	OutputFilePath string
}

EncryptFileOptions defines flags and other configuration parameters for the `encryptFile` command

type EncryptOptions

type EncryptOptions struct {
	KeyFile string
	Message string
}

EncryptOptions defines flags and other configuration parameters for the `encrypt` command

type GenPassphraseOptions added in v1.0.3

type GenPassphraseOptions struct {
	SaveFile string
}

GenPassphraseOptions defines flags and other configuration parameters for the `genPassphrasencrypt` command

Jump to

Keyboard shortcuts

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