Code Monkey home page Code Monkey logo

hyz-encript's Introduction

hyz-encript

cocoscreator加密混淆,基于2.4.5编写,理论上适用于引擎2.4.0-2.4.6,最重要是开源。 截图

功能:

  • web端支持加密图片、text、json
  • native端支持加密除音频外所有资源
  • 支持文件名混淆

加密思路: 加密是最简单的异或加密,修改构建后的源码进行解密。native端是修改c++端CCFileUtil的文件读取函数,web端是修改cocos2d-jsb.js的download系列方法。

文件名修改思路: 提取文件名,重命名为文件名的md5码;然后下载资源前,先修改transformUrl函数, 将本地文件名同样算一遍md5,进行重定向;

使用方式: 必须先构建,目前支持jsb-link、web-mobile、web-desktop,然后再打开插件,选择对应的而构建方式,填上加密签名、秘钥,点击加密按钮即可。

hyz-encript's People

Contributors

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