View on Asset Store (opens in new tab)
Package details
- Latest version
- 1.3.5
- Last updated
- First released
- Unity version
- 4.3.0 or later
- Package size
- 41 KB
- Files
- 14
- Favorites
- 113
- Views in the past week
- 17
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $7.00 on
Keywords
CryptoPlayerPrefs
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 2
CryptoPlayerPrefs screenshot 1
About this asset
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.
How to?
Simply replace PlayerPrefs.* with CryptoPlayerPrefs.*
As an example:
You could have a preference "isPremium", which is set to "yes" if premium and to "no" if not. People could modify PlayerPrefs and set straight forward "isPremium" to "yes". WIth CryptoPlayerPrefs they don't know which preference is responsible for premium activation and also don't know which value would mean 'yes'. Or you have a highscore based game and a level system. Every level gives you 5% points boost. The CryptoPlayerPrefs class makes the preferences (e.g. level) unreadable for the user and protects against modifications.
It is capable of using the Advanced Encryption Standard (Rijndael Algorithm). It also offers an XOR-option, to make the values "unreadable" for humans.
From the publisher's Asset Store listing.