简体   繁体   中英

C# and SQLite-net encrypting the database

I am using SQLite-net in a Windows 8.1 metro app to add a SQLite database to an metro application. It appears that I may need to encrypt the database for the application. Does anyone know of a way to encrypt a SQLite database when using SQLite-net? I know there are several libraries (libraries may not be the right word but.. ) like SQLcipher or SEE but not sure if/how I can use them with SQLite-net. I am really new to C# and metro app development so I would appreciate it if someone could point me in the right direction, I have already spent a lot of time trying to figure this out. Thanks,

You could use the Windows Data Protection .
With this you can encrypt and decrypt the values with the default user credentials. See this

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM