Recent

Author Topic: How to store key value data in pascal  (Read 673 times)

Prakash

  • Full Member
  • ***
  • Posts: 169
How to store key value data in pascal
« 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

Prakash

  • Full Member
  • ***
  • Posts: 169
Re: How to store key value data in pascal
« Reply #1 on: November 27, 2022, 03:50:05 pm »
how to store data in json format in pascal.

dseligo

  • Hero Member
  • *****
  • Posts: 1196
Re: How to store key value data in pascal
« Reply #2 on: November 27, 2022, 03:58:46 pm »

Prakash

  • Full Member
  • ***
  • Posts: 169
Re: How to store key value data in pascal
« Reply #3 on: November 28, 2022, 03:43:13 pm »
how to encrypt sqllite database .

KodeZwerg

  • Hero Member
  • *****
  • Posts: 2007
  • Fifty shades of code.
    • Delphi & FreePascal
Re: How to store key value data in pascal
« Reply #4 on: November 28, 2022, 03:46:57 pm »
May I ask for what purpose? Storing data in an encrypted way can result in a very slow database.
« Last Edit: Tomorrow at 31:76:97 xm by KodeZwerg »

Zvoni

  • Hero Member
  • *****
  • Posts: 2319
Re: How to store key value data in pascal
« Reply #5 on: November 28, 2022, 03:48:22 pm »
One System to rule them all, One Code to find them,
One IDE to bring them all, and to the Framework bind them,
in the Land of Redmond, where the Windows lie
---------------------------------------------------------------------
Code is like a joke: If you have to explain it, it's bad

dseligo

  • Hero Member
  • *****
  • Posts: 1196
Re: How to store key value data in pascal
« Reply #6 on: November 28, 2022, 03:53:25 pm »
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

PierceNg

  • Sr. Member
  • ****
  • Posts: 369
    • SamadhiWeb
Re: How to store key value data in pascal
« Reply #7 on: November 28, 2022, 04:42:26 pm »
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.


 

TinyPortal © 2005-2018