https://github.com/zamberform/cocos2dx-crypto
crypto project in cocos2dx
https://github.com/zamberform/cocos2dx-crypto
Last synced: about 2 months ago
JSON representation
crypto project in cocos2dx
- Host: GitHub
- URL: https://github.com/zamberform/cocos2dx-crypto
- Owner: zamberform
- License: mit
- Created: 2016-12-11T06:42:19.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-12-11T06:57:44.000Z (over 9 years ago)
- Last Synced: 2025-03-05T15:51:18.800Z (over 1 year ago)
- Language: C++
- Size: 767 KB
- Stars: 3
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
cocos2dx-encrypt
================
encrypt tools with cocos2dx
I hava completed ios and android encrypt tools for cocos2dx with openssl
but I think there will hava good method to make encryption by C++
## Encrypt with DES,DES2,DES3,AES
you can encryot file with cryto tools like pycrypt or nodejs crypto
## Decrypto in cocos2dx
complete decrypto system in cocos2dx
for example:
write with AES
// init the file system with decrypt code
FileUtils::getInstance()->createCryptoSystem("1234567890123456", 4);
// decrypto the encrypt file in sprite
auto sprite = Sprite::createCrypto("res/HelloWorldTest.png");
also you can rewrite with 2d&3d parts
## you can learn more about in [there](http://zamberform.github.io/memos/cocos2dx/2016/12/11/cocos2dx-crypto.html)