Hello,
Currently I am using SQLCipher for UWP and it is working fine.
1
For creating the new connection, I am using
SQLiteConnection conn = new SQLiteConnection(new SQLitePlatformWinRT(user_key), System.IO.Path.Combine(ApplicationData.Current.LocalFolder.Path, dbPath))
2
But couldn’t find any method for rekey, so used the following as mentioned in your website
string query = string.Format("PRAGMA rekey = '{0}';", new_user_key); database.Execute(query);
Here when I use normal ASCII characters, this rekey code works good.
Problem: When using special unicode characters e.g. Ѭ, ¿ etc. my rekey function 2 doesn’t works properly. Although I can access the connection and make changes after rekey with these characters but when I try to open database again with the step 1 , it doesn’t opens the connection.
Am I doing anything wrong here or is there any other easy way to perform rekey?
When I use set these character as key with step 1, everything works fine and I am able to reopen the connection.
Please Help!!
Jatin