Steganography
Simple PHP implementation of Steganography (Hiding a hidden message within an image)
Install / Use
/learn @kzykhys/SteganographyREADME
Steganography
Simple PHP implementation of Steganography (Hiding a hidden message within an image)
Requirements
- PHP5.4+
Installation
Update your composer.json and run composer update
{
"require": {
"kzykhys/steganography": "dev-master"
}
}
Usage
Put your message into an image
<?php
require __DIR__ . '/vendor/autoload.php';
$processor = new KzykHys\Steganography\Processor();
$image = $processor->encode('/path/to/image.jpg', 'Message to hide'); // jpg|png|gif
// Save image to file
$image->write('/path/to/image.png'); // png only
// Or outout image to stdout
$image->render();
Extract message from an image
<?php
require __DIR__ . '/vendor/autoload.php';
$processor = new KzykHys\Steganography\Processor();
$message = $processor->decode('/path/to/image.png');
echo $message; // "Message to hide"
License
The MIT License
Author
Kazuyuki Hayashi (@kzykhys)
Related Skills
node-connect
351.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.6kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
351.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
351.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。




