承接 kzykhys/steganography 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

kzykhys/steganography

Composer 安装命令:

composer require kzykhys/steganography

包简介

Simple implementation of Steganography (Hiding a hidden message within an image)

关键字:

README 文档

README

Latest Unstable Version Build Status Coverage Status SensioLabsInsight

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)

统计信息

  • 总下载量: 9.62k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 89
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 89
  • Watchers: 4
  • Forks: 29
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2014-01-24