Giter VIP home page Giter VIP logo

hust_cse_lab_lsb's Introduction

HUST_CSE_LAB_LSB

LSB method hide information 华中科技大学网络空间安全学院网安实践2 LSB隐写

使用说明:

  1. 需要安装pillow,numpy,matplotlib,opencv,即pip3 install pillow numpy matplotlib
  2. 在windows下,pip3 install opencv-python;在linux下,pip3 install python3-opencv
  3. 在程序目录下打开终端,输入python3 main.py,或者直接在ide中运行main.py
  4. 用来隐藏的图片请放在程序目录下,命名为src.bmp,如果没有,目录下已经自带一张4k分辨率的bmp图像
  5. 准备隐藏的语句请放入flag.txt中,注意,只支持英文、数字和下划线
  6. 能隐藏的语句长度和bmp图像大小有关,图像太小可能会丢失信息
  7. 加密密钥请在main.py中更改key的值
  8. 解密lsb隐写的图片时,需要指定准备解密的字符串长度,请在main.py中更改length的值
  9. length过长时,解密出的字符串末尾会出现无效信息
  10. length过短时,解密出的字符串会丢失部分信息

hust_cse_lab_lsb's People

Contributors

mapkkkk avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.