openstego-0.5.2
所属分类:Java编程
开发工具:Java
文件大小:285KB
下载次数:24
上传日期:2009-08-03 00:01:53
上 传 者:
1881159
说明: 是一种用JAVA执行的generic steganography工具,基于支持数据密码,并为各种算法提供插件
(OpenStego is a tool implemented in Java for generic steganography, with support for password-based encryption of the data. It supports plugins for various steganographic algorithms )
文件列表:
openstego-0.5.2 (0, 2009-03-31)
openstego-0.5.2\doc (0, 2009-03-31)
openstego-0.5.2\doc\api (0, 2009-03-31)
openstego-0.5.2\doc\api\net (0, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge (0, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego (0, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\ui (0, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\util (0, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\util\dct (0, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\util\dwt (0, 2009-03-31)
openstego-0.5.2\doc\api\resources (0, 2009-03-31)
openstego-0.5.2\lib (0, 2009-03-31)
openstego-0.5.2\LICENSE (17987, 2009-03-31)
openstego-0.5.2\doc\api\allclasses-frame.html (4635, 2009-03-31)
openstego-0.5.2\doc\api\allclasses-noframe.html (4095, 2009-03-31)
openstego-0.5.2\doc\api\constant-values.html (22905, 2009-03-31)
openstego-0.5.2\doc\api\deprecated-list.html (4872, 2009-03-31)
openstego-0.5.2\doc\api\help-doc.html (8391, 2009-03-31)
openstego-0.5.2\doc\api\index-all.html (124869, 2009-03-31)
openstego-0.5.2\doc\api\index.html (901, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\DataHidingPlugin.html (21198, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\OpenStego.html (44574, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\OpenStegoConfig.html (23430, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\OpenStegoCrypto.html (13875, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\OpenStegoException.html (32723, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\OpenStegoPlugin.html (46779, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\WatermarkingPlugin.html (20424, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\package-frame.html (1887, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\package-summary.html (7750, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\package-tree.html (7478, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\ui\OpenStegoFrame.html (113803, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\ui\OpenStegoUI.html (86999, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\ui\PluginEmbedOptionsUI.html (81913, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\ui\package-frame.html (1237, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\ui\package-summary.html (6702, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\ui\package-tree.html (9384, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\util\CmdLineOption.html (19109, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\util\CmdLineOptions.html (18927, 2009-03-31)
openstego-0.5.2\doc\api\net\sourceforge\openstego\util\CmdLineParser.html (18613, 2009-03-31)
... ...
OpenStego v0.5.2
================
OpenStego is a tool developed in Java for steganography. It supports
optional encryption of data before embedding in the image.
Plugins for different steganographic algorithms are supported. As of now, the
following algorithms are provided:
- LSB : Embedding data in Least Significant Bits (LSB) of image pixels
- RandomLSB : Embedding data in Least Significant Bits (LSB) of image pixels
in a pseudo-random order, to avoid steganalysis
Support for other algorithms like FFT, etc. would be added later using plugins.
USAGE:
------
For GUI:
java -jar
\openstego.jar
For command line interface:
java -jar \openstego.jar [options]
The first argument must be a command. Valid commands are:
embed, --embed Embed message into cover file
extract, --extract Extract message from stego file
algorithms, --algorithms List down supported steganography algorithms
readformats --readformats List down supported formats for cover file
writeformats, --writeformats List down supported formats for stego file
help, --help Display this help. To get help on options
specific to an algorithm, provide the name
of the algorithm using '-a' option
Following option is common for all commands other than 'algorithms':
-a, --algorithm
Name of the steganography algorithm to use. List of the supported
algorithms can be retrieved using 'algorithms' command
'embed' options:
-mf, --messagefile
Source message/data file. If this option is not provided or '-'
(without quotes) is provided as the value then the message data is
read from stdin
-cf, --coverfile
Cover file in which the message will be embedded. This option supports
'*' and '?' wildcards for filename. If wildcard filename is provided
then make sure that it is surrounded by double quotes.
Multiple filenames can also be provided by separating them with ';'
(semi-colon).
If the wildcard expression returns more than one file, then '-sf'
option is ignored, and each coverfile is overwritten with the
corresponding generated stegofile
-sf, --stegofile
Output stego file containing the embedded message. If this option is
not provided or '-' (without quotes) is provided as the value then the
stego file is written to stdout
-c, --compress
Compress the message file before embedding (default)
-C, --nocompress
Do not compress the message file before embedding
-e, --encrypt
Encrypt the message file before embedding
-E, --noencrypt
Do not encrypt the message file before embedding (default)
-p, --password
Password to be used for encryption. If this is not provided then
prompt will be displayed for entry
'extract' options:
-sf, --stegofile
Stego file containing the embedded message
-xf, --extractfile
Optional filename for the extracted data. Use this to override the
filename embedded in the stego file
-xd, --extractdir
Directory where the message file will be extracted. If this option is
not provided, then the file is extracted to current directory
-p, --password
Password to be used for decryption. If this is not provided then
prompt will be displayed for entry (if the message is encrypted)
Examples:
To embed secret.txt into wallpaper.png and generate the output into test.png:
java -jar \openstego.jar embed -a lsb -mf secret.txt \
-cf wallpaper.png -sf test.png
OR
java -jar \openstego.jar --embed --algorithm=lsb \
--messagefile=secret.txt --coverfile=wallpaper.png --stegofile=test.png
To extract embedded data from test.png to /data directory:
java -jar \openstego.jar extract -a lsb -sf test.png -xd /data
OR
java -jar \openstego.jar extract --algorithm=lsb \
--stegofile=test.png --extractdir=/data
Piping example:
ls -R | java -jar \openstego.jar embed -a lsb > test.png
Wildcard example (Please note that the double quotes are important):
java -jar \openstego.jar embed -a lsb \
-cf "img???.png;wall*.png" -mf watermark.txt
PLUGINS HELP:
-------------
Please use the following command to get plugin specific help:
java -jar \openstego.jar -help -a
ADDING NEW PLUGIN:
------------------
To add a new plugin, the following abstract classes must be implemented:
- net.sourceforge.openstego.OpenStegoPlugin
- net.sourceforge.openstego.ui.PluginEmbedOptionsUI
Read the API documentation for the details of the methods to be implemented.
In addition, the following utility class can be used to handle multilingual
string labels for the plugin:
- net.sourceforge.openstego.util.LabelUtil
A new namespace should be added to LabelUtil class for each new plugin. Same
namespace can also be used for exception messages while throwing
OpenStegoException.
After implementing the plugin classes, create new file named
"OpenStegoPlugins.external" and put the fully qualified name of the class
which implements OpenStegoPlugin in the file. Make sure that this file is
put directly under the CLASSPATH while invoking the application.
Please refer to the "net.sourceforge.openstego.plugin.lsb" package sources
for sample plugin implementation.
TODO:
-----
- Add support for more algorithms
- Add support for audio data to be used as cover file
AUTHOR:
-------
Samir Vaidya (syvaidya@gmail.com)
Copyright (c) 2007-2009
SEE ALSO:
---------
Project homepage: http://openstego.sourceforge.net
Blog: http://syvaidya.blogspot.com
LICENSE:
--------
GNU General Public License 2.0 (GPL) (see LICENSE file)
近期下载者:
相关文件:
收藏者: