utelle / SQLite3MultipleCiphers

SQLite3 encryption extension with support for multiple ciphers
https://utelle.github.io/SQLite3MultipleCiphers/
MIT License
390 stars 73 forks source link

Documentation `SQLCipher` table #115

Closed 05nelsonm closed 1 year ago

05nelsonm commented 1 year ago

Shouldn't the default for legacy be a 4, not 0?

image

utelle commented 1 year ago

Shouldn't the default for legacy be a 4, not 0?

No. For all ciphers the default mode is non-legacy (that is, legacy = 0). However, databases created in non-legacy mode are usually not compatible with databases encrypted with the original product (like SQLCipher). If compatibility with the original product is required, you will have to set the parameter legacy explicitly to a non-zero value. For details see the documentation of the legacy cipher mode.

05nelsonm commented 1 year ago

Ah ok. tyvm for the explanation!