Configuration & Runtime Parameters

This technical guide details the configurable operational parameters, cryptographic constants, and buffer allocations governing the STEGNOLINES client-side engine.

1. Core Pipeline Runtime Parameters

Parameter NameDefault ValuePermitted Range / TypeArchitectural Function
PBKDF2_ITERATIONS100,000Integer (≥ 100k)Key stretching rounds to prevent GPU-accelerated brute-force attacks.
BROTLI_QUALITY110 to 11Maximum Brotli compression ratio for natural text payload reduction.
BROTLI_CHUNK_SIZE4096 bytes1024 to 65536Internal streaming buffer size for WebAssembly memory allocation.
COMPRESSION_FLAG0xFEByte (Hex)Unique protocol prefix indicating that Brotli stream decompression is required.
MAX_HINT_LENGTH60 chars0 to 60Prevents UI bloating and memory exhaustion attacks in the recovery log.
MAX_JSON_UPLOAD50 KB≤ 50 KBLimits hints JSON import size to guard against client-side tab freezes.

2. Steganography Fallback Logic

  • Key-Base Auto-Binding: If the user leaves the AES Key-Base password field blank, the engine deterministically assigns the value of the Stego-Key as the password.
  • Auto-Generated Stego-Key: If the Stego-Key is omitted, the system generates a deterministic seed by taking the SHA-256 hash of the plain cover text.
  • Compression Bypass Mode: If Brotli compression does not reduce payload size (e.g. for short random strings), the system automatically transmits raw UTF-8 bytes to save capacity.