config

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 19, 2026 License: AGPL-3.0 Imports: 0 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BinaryName       = "crypha"
	Version          = "0.1.0"
	ShortDescription = "Multi-format steganography for images, audio, QR, text, and PDFs"
	LongDescription  = "crypha hides an encrypted payload inside five carrier types " +
		"(image, audio, QR, zero-width text, PDF) and extracts it back, " +
		"from a scriptable CLI or an interactive TUI."
)

Variables

View Source
var FormatDetails = map[string]FormatDetail{
	"image": {
		Blurb:      "LSB of RGB pixel data",
		CoverInput: "PNG or 24-bit BMP",
		Output:     "PNG",
		Notes:      "alpha channel untouched; paletted and 16-bit covers are rejected",
	},
	"audio": {
		Blurb:      "LSB of 16-bit PCM samples",
		CoverInput: "16-bit PCM WAV or FLAC",
		Output:     "WAV",
		Notes:      "FLAC covers are decoded and re-emitted as WAV",
	},
	"qr": {
		Blurb:      "Reed-Solomon-correctable error injection",
		CoverInput: "UTF-8 text (the QR's visible content)",
		Output:     "PNG",
		Notes:      "capacity is tens of bytes, so an encrypted envelope will not fit",
	},
	"text": {
		Blurb:      "zero-width U+200B and U+2060 characters",
		CoverInput: "any UTF-8 text",
		Output:     "text",
		Notes:      "the payload is appended to the cover as invisible characters",
	},
	"pdf": {
		Blurb:      "embedded attachment, metadata, or append-after-EOF",
		CoverInput: "PDF",
		Output:     "PDF",
		Notes:      "default technique is a lossless embedded-file attachment",
	},
}

Functions

This section is empty.

Types

type FormatDetail

type FormatDetail struct {
	Blurb      string
	CoverInput string
	Output     string
	Notes      string
}

Jump to

Keyboard shortcuts

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