Code Monkey home page Code Monkey logo

encrypt-png's Introduction

Encrypt PNG

PNG格式图片加密解密工具,可以很方便地嵌入到cocos2d-x游戏引擎中。加密是通过剔除数据块的长度和类型码来实现的。实现简单,解密高效,可以有效地提高游戏资源被破解的门槛。

运行环境

由于使用了windows的api,加密程序只支持windows系统。解密程序可在任意支持c++11编译器的平台上使用。

如何使用

你可以直接下载已经编译好的加密和解密程序,如果无法运行你可以自己编译源代码来生成程序。

加密PNG图片,把 EncryptPNG.exe 文件放到图片所在的文件目录里面执行,然后输入密钥就可以了。然后它就会自动加密所在目录及其子目录的所有PNG图片,并在生成对应的 .epng 文件。

如果想要验证文件是否能够成功解密,只需打开命令窗口,输入 DecryptPNG.exe xxx.epng,然后输入密钥。如果密钥正确的话就会生成一个 .png 文件。

encrypt-png's People

Contributors

zhangpanyi 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.