SQLite with encryption/password protection

后端 未结 9 1236
遇见更好的自我
遇见更好的自我 2020-11-22 07:45

I\'m just learning to use SQLite and I was curious if such is possible:

  1. Encryption of the database file?

  2. Password protect opening of the dat

9条回答
  •  故里飘歌
    2020-11-22 08:03

    SQLite has hooks built-in for encryption which are not used in the normal distribution, but here are a few implementations I know of:

    • SEE - The official implementation.
    • wxSQLite - A wxWidgets style C++ wrapper that also implements SQLite's encryption.
    • SQLCipher - Uses openSSL's libcrypto to implement.
    • SQLiteCrypt - Custom implementation, modified API.
    • botansqlite3 - botansqlite3 is an encryption codec for SQLite3 that can use any algorithms in Botan for encryption.
    • sqleet - another encryption implementation, using ChaCha20/Poly1305 primitives. Note that wxSQLite mentioned above can use this as a crypto provider.

    The SEE and SQLiteCrypt require the purchase of a license.

    Disclosure: I created botansqlite3.

提交回复
热议问题