https://github.com/menci/stego
数据隐写:将数据嵌入到到 BMP 数据中
https://github.com/menci/stego
Last synced: about 1 year ago
JSON representation
数据隐写:将数据嵌入到到 BMP 数据中
- Host: GitHub
- URL: https://github.com/menci/stego
- Owner: Menci
- License: unlicense
- Created: 2020-10-28T11:21:59.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-10-28T13:15:40.000Z (over 5 years ago)
- Last Synced: 2025-04-18T15:17:33.239Z (over 1 year ago)
- Language: C
- Size: 622 KB
- Stars: 10
- Watchers: 2
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 数据隐写
将任意数据嵌入到 BMP 文件中,使得肉眼无法观察出与原图的区别。生成的 BMP 文件可以被转码(不可有损压缩)。
```bash
# 编译
gcc stego.c -o stego
# 写入
./stego -w input.bmp hello.7z output.bmp
# 读取
./stego -r output.bmp hello.7z
```
**原理**:利用 BMP 中每个像素点 RGB 颜色值的最低位(LSB)来存放数据。