jsondb-core
jsondb-core copied to clipboard
Is it possible to encrypt the complete .json file?
The current implementation only encrypts the properties of a entity marked with @Secret.
I would like the complete text file to be unreadable. It this possible to implement, or does this conflict with the design?
Theoretically its possible to do this, however, it would not be good to do this. If the entire file is encrypted then even trivial write operation would require the entire file to be re-written to the disk. JSONDB also supports inserts and deletes which would simply take too long
I think I figured out how to do this without making it too slow. I have removed the wontfix label and added an enhancement label. I hope to implement this someday, although I don't know when I will get to it.