stegify

Go tool for LSB steganography, capable of hiding any file within an image.

Github星跟蹤圖

stegify

Build Status
Coverage Status
GoDoc
Go Report Card
Mentioned in Awesome Go

Overview

stegify is a simple command line tool capable of fully transparent hiding any file within an image.
This technique is known as LSB (Least Significant Bit) steganography

Demonstration, Carrier, Data, Result, ---------------------------------------, ------------------------------------, ------------------------------------------------------, Original File, Encoded File, Encoded File, The Result file contains the Data file hidden in it. And as you can see it is fully transparent.

Install

$ go get -u github.com/DimitarPetrov/stegify

Usage

As a command line tool

$ stegify encode -carrier <file-name> -data <file-name> -result <file-name>
$ stegify decode -carrier <file-name> -result <file-name>

When encoding, the file with name given to flag -data is hidden inside the file with name given to flag
-carrier and the resulting file is saved in new file in the current working directory under the
name given to flag -result.
The result file won't have any file extension and therefore it should be specified explicitly in -result flag.

When decoding, given a file name of a carrier file with previously encoded data in it, the data is extracted
and saved in new file in the current working directory under the name given to flag -result.
The result file won't have any file extension and therefore it should be specified explicitly in -result flag.

In both cases the flag -result could be omitted and it will be used the default file name: result

Programmatically in your code

stegify can be used programmatically too and it provides easy to use functions working with file names
or raw Readers and Writers. You can visit godoc under
steg package for details.

Disclaimer

If carrier file is in jpeg or jpg format, after encoding the result file image will be png encoded (therefore it may be bigger in size)
despite of file extension specified in the result flag.

主要指標

概覽
名稱與所有者DimitarPetrov/stegify
主編程語言Go
編程語言Go (語言數: 1)
平台
許可證MIT License
所有者活动
創建於2018-11-29 16:45:58
推送於2023-04-11 06:07:37
最后一次提交2023-04-11 09:07:37
發布數3
最新版本名稱v1.2 (發布於 )
第一版名稱v1.0 (發布於 )
用户参与
星數1.2k
關注者數24
派生數118
提交數57
已啟用問題?
問題數3
打開的問題數0
拉請求數2
打開的拉請求數0
關閉的拉請求數4
项目设置
已啟用Wiki?
已存檔?
是復刻?
已鎖定?
是鏡像?
是私有?