插件笔记_CryptoPlayerPrefs-1.3.3
来源:互联网 发布:css 开发工具 知乎 编辑:程序博客网 时间:2024/06/16 17:50
Thanks for purchasing the CryptoPlayerPrefs class for Unity3D!
The CryptoPlayerPrefs class is an alternative for the PlayerPrefs class, by adding cryptography.密码
Thus, it is possible to secure sensitive data and protect them from game modification and cheating.
It is capable of using the Advanced Encryption加密 Standard (Rijndael Algorithm算法) (default activated).
It also offers an XOR-option, to make the values "unreadable" for humans (default activated).
=== How to use? ===
You can use the CryptoPlayerPrefs class just like the PlayerPrefs class, just Replace PlayerPrefs by CryptoPlayerPrefs.
But it is recommended to set the salt for every application indivudally via the CryptoPlayerPrefs.setSalt(int) Method.
Or you can also use the CryptPlayerPrefsManager to set this setting in the editor.
You can even activate / deactivate Rijndael and the XOR seperately.
But in order to maximize security of the data it should be left as default.
ATTENTION:
When you released a productive version of your application don't change settings anymore (or think about migration BEFORE!)
If you change it the cryptographie will be messed up and the keys won't work anymore etc..
A Mono.Security.Cryptography.SymmetricTransform.ThrowBadPaddingException would be thrown.
Therefore: Set these settings ONCE and don't change them anymore!
= Example =
PlayerPrefs.HasKey("coins") => CryptoPlayerPrefs.HasKey("coins")
PlayerPrefs.SetInt("coins", 1000) => CryptoPlayerPrefs.SetInt("coins", 1000)
and so on...
There is also an Example Scene which uses the CryptoPlayerPrefs class.
It has a bouncy ball which collides with boxes and everytime a collision occured it is saved according to the box.
= CryptoPlayerPrefsX =
We've added a adjusted version of ArrayPrefs2 (http://wiki.unity3d.com/index.php/ArrayPrefs2), so you can use these additional features in a crypted way.
Therewith you can save arrays and other stuff.
=== Limitations ===
You must not use the stripping level 3 (Android / iOS)!
The CryptoPlayerPrefs class relies on the System.Security component and this is not included in the micro mscorlib.
Stripping level 0-2 works fine (if you use the given link.xml).
=== Questions? ===
Don't hesitate to send us an email: assetstore@zeichenkraftwerk.de
== Version History ==
- 1.3.3
* Fixed support for Windows Store apps (failed signing due to usage of unallowed API)
- 1.3.2
* Added support for Windows Phone and Windows Store Apps (Metro)
- 1.1.2:
* Added fix, so that MonoDevlop doesn't complain about default value defintions in method head.
- 1.1:
* Added a adjusted version of ArrayPrefs2 (http://wiki.unity3d.com/index.php/ArrayPrefs2), so you can use these features in a crypted way.
Use CryptoPlayerPrefsX for that.
* Added version history and CryptoPlayerPrefsX section in readme
- 1.0.1:
* Added link.xml, so Strippling Level 0-2 it works out of the box on Android and iOS
- 1.0:
*Initial Release
The CryptoPlayerPrefs class is an alternative for the PlayerPrefs class, by adding cryptography.密码
Thus, it is possible to secure sensitive data and protect them from game modification and cheating.
It is capable of using the Advanced Encryption加密 Standard (Rijndael Algorithm算法) (default activated).
It also offers an XOR-option, to make the values "unreadable" for humans (default activated).
=== How to use? ===
You can use the CryptoPlayerPrefs class just like the PlayerPrefs class, just Replace PlayerPrefs by CryptoPlayerPrefs.
But it is recommended to set the salt for every application indivudally via the CryptoPlayerPrefs.setSalt(int) Method.
Or you can also use the CryptPlayerPrefsManager to set this setting in the editor.
You can even activate / deactivate Rijndael and the XOR seperately.
But in order to maximize security of the data it should be left as default.
ATTENTION:
When you released a productive version of your application don't change settings anymore (or think about migration BEFORE!)
If you change it the cryptographie will be messed up and the keys won't work anymore etc..
A Mono.Security.Cryptography.SymmetricTransform.ThrowBadPaddingException would be thrown.
Therefore: Set these settings ONCE and don't change them anymore!
= Example =
PlayerPrefs.HasKey("coins") => CryptoPlayerPrefs.HasKey("coins")
PlayerPrefs.SetInt("coins", 1000) => CryptoPlayerPrefs.SetInt("coins", 1000)
and so on...
There is also an Example Scene which uses the CryptoPlayerPrefs class.
It has a bouncy ball which collides with boxes and everytime a collision occured it is saved according to the box.
= CryptoPlayerPrefsX =
We've added a adjusted version of ArrayPrefs2 (http://wiki.unity3d.com/index.php/ArrayPrefs2), so you can use these additional features in a crypted way.
Therewith you can save arrays and other stuff.
=== Limitations ===
You must not use the stripping level 3 (Android / iOS)!
The CryptoPlayerPrefs class relies on the System.Security component and this is not included in the micro mscorlib.
Stripping level 0-2 works fine (if you use the given link.xml).
=== Questions? ===
Don't hesitate to send us an email: assetstore@zeichenkraftwerk.de
== Version History ==
- 1.3.3
* Fixed support for Windows Store apps (failed signing due to usage of unallowed API)
- 1.3.2
* Added support for Windows Phone and Windows Store Apps (Metro)
- 1.1.2:
* Added fix, so that MonoDevlop doesn't complain about default value defintions in method head.
- 1.1:
* Added a adjusted version of ArrayPrefs2 (http://wiki.unity3d.com/index.php/ArrayPrefs2), so you can use these features in a crypted way.
Use CryptoPlayerPrefsX for that.
* Added version history and CryptoPlayerPrefsX section in readme
- 1.0.1:
* Added link.xml, so Strippling Level 0-2 it works out of the box on Android and iOS
- 1.0:
*Initial Release
0 0
- 插件笔记_CryptoPlayerPrefs-1.3.3
- Nutch 1.3 学习笔记 10-3 插件机制分析
- Nutch 1.3 学习笔记 10-3 插件机制分析
- 插件笔记
- Maven学习笔记3-生命周期与插件
- maven笔记3--生命周期和插件
- 插件学习笔记
- Eclipse插件开发笔记
- JK插件学习笔记
- VS2005插件笔记
- vs2005插件笔记二
- firebox插件使用笔记
- Qt 插件路径(笔记)
- 插件开发笔记1
- eclipse插件开发笔记
- hudson插件开发笔记
- jquery插件笔记
- iBATIS插件使用笔记
- Java学习(四):JRE和JDK,以及环境变量的配置
- 老板开理发店24年只收5元 顾客心疼求涨价
- Android—2015年代做安卓毕业设计 Android毕业设计毕业设计AndroidAPP
- OpenGL学习笔记-2015.3.24——transform feedback缓存&粒子系统示例分析
- jQuery源码学习(版本1.11)-整体架构
- 插件笔记_CryptoPlayerPrefs-1.3.3
- search - fibonacci search
- LeetCode - Divide Two Integers
- LeetCode - Add Binary
- C++之强制类型转换原理
- 火狐、IE、Chrome已进入三国时代
- Android开发之Intent
- LeetCode - Factorial Trailing Zeroes
- LeetCode - Excel Sheet Column Title