llm-steganography
بواسطة @hexxt-git
نشِط 13
hide secrets in normal looking text using an LLM
عن هذا المشروع
llm-steganography Goal: hide a short secret message inside normal-looking plaintext using LLM output. The text itself is not encrypted. Instead, the message is encoded in the token choices the model makes while generating. For the full mechanism, see docs/theoretical.md. The payload is UTF-8 bytes with a 32-bit byte-length header, followed by 8 bits per byte. On non-dominant steps, one bit is encoded per token by choosing between the two most likely non-EOG candidates. Anyone with the same model and prompt can replay generation, recover the bits, and read the message. Why it matters: the output still reads like a normal response, while the hidden data is carried by small token-level choices. This is experimental. Capacity is low, recovery depends on the exact same model, tokenizer, and prompt, and decrypt must receive the exact completionText returned by encrypt so tokenization stays aligned. Stack: Bun, node-llama-cpp, and a local GGUF (e.g. models/llama3.gguf) model. Prompts are wrapped with Llama 3’s chat format so behavior matches instruction-tuned models. Prerequisites Bun node-llama-cpp a local GGUF (e.g. models/llama3.gguf) model (see docs/ollama-to-gguf.md) Usage
من ملف README الخاص بالمشروع على GitHub
- النجوم
- 13
- التفريعات
- 0
- آخر تحديث
- 20/03/2026
أضف هذه الشارة إلى ملف README
أظهر أن مشروعك مُدرج على «صُنع في الجزائر».
[](https://www.madeinalgeria.dev/projects/llm-steganography)