You can check out the AESlua which is quite fast with the new bitOp pluging:
AES is probably the most secure encryption for lua at the moment.
You can check out the AESlua which is quite fast with the new bitOp pluging:
AES is probably the most secure encryption for lua at the moment.
Perhaps adding PASSWORD support to the recent zip/unzip plugin would be helpful.

Simply:
Use a UUID for the device.
Use HMAC to create a hash using some secure value, the UUID and a secret key.
Store the HMAC alongside the cleartext, and require agreement before unlocking whatever your data represents, an IAP entitlement, a high score, whatever. If the hashes don’t match, you’ve detected tampering and are free to zero out that entitlement or privileged data.
Perhaps adding PASSWORD support to the recent zip/unzip plugin would be helpful.

Simply:
Use a UUID for the device.
Use HMAC to create a hash using some secure value, the UUID and a secret key.
Store the HMAC alongside the cleartext, and require agreement before unlocking whatever your data represents, an IAP entitlement, a high score, whatever. If the hashes don’t match, you’ve detected tampering and are free to zero out that entitlement or privileged data.