Encrypts strings passed in by using a set obfuscation key as well as the unique identifier of the running device. Used for storing in-app purchases.
More...
|
bool | encrypt = false |
| Whether encryption should be enabled. More...
|
|
string | secret = "abcd1234" |
| 56+8 bit key for encrypting strings: 8 characters, do not use code characters (=.,? etc) and play-test that your key actually works! On Windows Phone this key must be exactly 16 characters (128 bit) long. SAVE THIS KEY SOMEWHERE ON YOUR END, SO IT DOES NOT GET LOST ON UPDATES. More...
|
|
Encrypts strings passed in by using a set obfuscation key as well as the unique identifier of the running device. Used for storing in-app purchases.
static string Decrypt |
( |
string |
toDecrypt | ) |
|
|
static |
Decrypt string based on secret key + device identifier.
static string Encrypt |
( |
string |
toEncrypt | ) |
|
|
static |
Encrypt string based on secret key + device identifier.
Returns a reference to this script instance.
Whether encryption should be enabled.
string secret = "abcd1234" |
56+8 bit key for encrypting strings: 8 characters, do not use code characters (=.,? etc) and play-test that your key actually works! On Windows Phone this key must be exactly 16 characters (128 bit) long. SAVE THIS KEY SOMEWHERE ON YOUR END, SO IT DOES NOT GET LOST ON UPDATES.
The documentation for this class was generated from the following file: