Recent

Author Topic: Anyone use sqlcipher with free pascal?  (Read 711 times)

vonskie

  • Full Member
  • ***
  • Posts: 184
Anyone use sqlcipher with free pascal?
« on: December 11, 2023, 05:09:57 pm »
Anyone use sqlcipher with free pascal?

nouzi

  • Sr. Member
  • ****
  • Posts: 294
My English is  bad
Lazarus last version free pascal last version
Lazarus trunk  free pascal trunk 
System : Linux mint  64bit  Windows 7 64bit

abouchez

  • Full Member
  • ***
  • Posts: 110
    • Synopse
Re: Anyone use sqlcipher with free pascal?
« Reply #2 on: December 12, 2023, 03:45:29 pm »
We have integrated encryption to the static version of the SQLite3 library included in mORMot.
No external dll, and very fast AES-CTR process using AES-NI if available.
See https://github.com/synopse/mORMot2/blob/fe3fdf53e54dc770bda8d9858c8d6ff5ebf4ac4d/src/db/mormot.db.raw.sqlite3.static.pas#L508

In 2020, the SQlite3 team removed their "official patching method" of implementing encryption.
But we were able to circumvent this limitation, by using a VFS.
See https://blog.synopse.info/?post/2020/06/05/SQlite3-Encryption-Not-Possible-Any-More-Since-3.32.x

 

TinyPortal © 2005-2018