maikschneider/steganography
最新稳定版本:v1.0.2
Composer 安装命令:
composer require maikschneider/steganography
包简介
Simple implementation of Steganography (Hiding a hidden message within an image)
关键字:
README 文档
README
Simple PHP implementation of Steganography (Hiding a hidden message within an image)
Requirements
- PHP8.1+
Installation
composer require maikschneider/steganography
Usage
Put your message into an image
<?php use MaikSchneider\Steganography\Processor; $processor = new 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 use MaikSchneider\Steganography\Processor; $processor = new Processor(); $message = $processor->decode('/path/to/image.png'); echo $message; // "Message to hide"
License
The MIT License
Author
Kazuyuki Hayashi (@kzykhys)
统计信息
- 总下载量: 234
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2023-08-26