krotik / eliasdb

EliasDB a graph-based database.
Mozilla Public License 2.0
994 stars 49 forks source link

Encryption ? #48

Open P31N opened 1 year ago

P31N commented 1 year ago

Greetings, I saw you can store in either memory or local, however is there a way to encrypt the database?

krotik commented 1 year ago

Hey there, the short answer is: no, not in the moment :smile:

When thinking about "encrypt the database" the first thing which comes to my mind is what does it actually mean? The design of the database has multiple layers of abstraction. Each of the lower layers could potentially be used for encryption. In my mind encryption should happen on the lowest layers i.e. just before storing bytes on disk or in memory.

guycipher commented 6 months ago

Hey @krotik look into ChaCha or SALSA20 I can help with encryption and even compression if you want.