netpyoung / SqlCipher4Unity3D

💾 SqlCipher made easy for Unity3d
MIT License
163 stars 37 forks source link

Being able to change/remove a oassword #5

Open Reddevildragg opened 6 years ago

Reddevildragg commented 6 years ago

I may be missing something but I have been looking at using this to encrypt the database on a released build. However during development I am looking to have the database not encrypted (so can see all the information in a viewer to monitor) is this possible. Also as a requirement the encryption code will need to change every month so is it possible to change the password on a created database?

Thanks for any help

netpyoung commented 6 years ago

It is possible set key and rekey on database - https://www.zetetic.net/sqlcipher/sqlcipher-api/

I also using normal sqlite for debug during developing . and for release use encrypted data. It also good for prepare mechanism for change password.

It also one solution. replace by new database and receive key from server.

Reddevildragg commented 6 years ago

Thanks for the help, I will have a look into that and see if I can get any results working. I don't suppose you have an example I can view of the code unity side? Just so I fully understand the process

netpyoung commented 6 years ago

sorry for late reply. recently i'm busy. and nowday also I don't know have a time to test. anyway it take a time to make example.