#include"common.h"
#include"bmp.h"
#include"password.h"
#include"pixelarray.h"
#include"bitstream.h"
#include"fft.h"
#include"hidecode.h"
using namespace std;
int main(int argc,char* args[]) {
srand(time(NULL));
char *exename=args[0]+strlen(args[0])-1;
while(*exename!='\\' && exename!=args[0]) exename--;
exename++;
if (argc!=5 && argc!=4) {
cout<<"To use this program, you shoud type in console as which shown below"<<endl;
cout<<"To encode: "<<exename<<" SOURCE_BIN_FILENAME HIDEINFO TARGET_BIN_FILENAME PSWD"<<endl;
cout<<"To decode: "<<exename<<" SOURCE_BIN_FILENAME OUTPUT PSWD"<<endl;
} else {
switch (argc) {
case 5:{
hidecode::encode(args[1],args[2],args[3],args[4]);
break;
}
case 4:{
hidecode::decode(args[1],args[2],args[3]);
break;
}
}
}
return 0;
}
没有合适的资源?快使用搜索试试~ 我知道了~
基于Hash的随机LSB信息隐藏程序
共37个文件
h:8个
exe:6个
o:3个
需积分: 9 11 下载量 169 浏览量
2011-12-20
08:44:42
上传
评论
收藏 1.15MB RAR 举报
温馨提示
包含波形小幅扰动抗攻击 自己编写的 包含24bitBMP文件的读取与像素分离 快速傅立叶变换 散列LSB等相关算法的头文件 与系统无关 可以通过G++编译 在Win/Linux环境下都可以正常工作 也可以将头文件提取出来应用于其他代码之中
资源推荐
资源详情
资源评论
收起资源包目录
08472151bmpenc.rar (37个子文件)
bmpenc
bmpenc.workspace 206B
bin
Release
bmpenc.exe 336KB
bmpenc.exe 336KB
Debug
bmpenc.exe 1.05MB
BEGUI.exe 429KB
bmpenc.cbp 2KB
pixelarray.h 1KB
obj
Release
main.obj 92KB
main.o 92KB
Debug
main.obj 710KB
loadbmp.o 153KB
main.o 712KB
common.h 503B
hidecode.h 7KB
pixel.h 618B
bitstream.h 2KB
hidecode.cpp 0B
bmpenc.layout 1KB
fft.h 2KB
main.cpp 973B
bmp.h 3KB
bmpenc.depend 1KB
password.h 438B
gui
Unit1.~dfm 4KB
Unit1.dfm 4KB
Unit1.ddp 51B
BEGUI.cfg 434B
bmpenc.exe 336KB
Unit1.pas 4KB
BEGUI.res 876B
BEGUI.~dpr 242B
Unit1.~ddp 51B
BEGUI.dpr 185B
BEGUI.dof 2KB
Unit1.~pas 4KB
BEGUI.exe 429KB
Unit1.dcu 8KB
共 37 条
- 1
资源评论
Coldwings
- 粉丝: 0
- 资源: 1
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功