Lazarus
Programming => Databases => Topic started by: Prakash on November 26, 2022, 10:25:13 pm
-
We would like to store data in json file.
With encrypted and it should search key fast
-
how to store data in json format in pascal.
-
Look at examples here: https://wiki.freepascal.org/fcl-json (https://wiki.freepascal.org/fcl-json)
-
how to encrypt sqllite database .
-
May I ask for what purpose? Storing data in an encrypted way can result in a very slow database.
-
how to encrypt sqllite database .
by reading the manual: https://www.sqlite.org/see/doc/trunk/www/readme.wiki
-
how to encrypt sqllite database .
I didn't try it, but I think you need different dll's.
Look here:
https://wiki.freepascal.org/SQLite#Support_for_SQLite_encryption (https://wiki.freepascal.org/SQLite#Support_for_SQLite_encryption)
-
May I ask for what purpose? Storing data in an encrypted way can result in a very slow database.
Encrypting a database is said to impose 5-20% overhead. Depending on nature of data, encryption might be mandated by law.
If a database is hosted "in the cloud" unencrypted, they are at risk of leakage and unauthorized modifications / deletion by the cloud provider's employees and bad actors who break into the cloud infrastructure.