Dolibarr - Encryption at Rest

Has anyone attempted to encrypt data at rest in Dolibarr? Or knows how to? Or who would like to team up and do this as a joint project?

A lot of Dolibarr data is in the database. So if the database can do it, then you would easily have solved maybe more than half the problem.

The rest of the data are uploaded and generated files. That could just be stored on an encrypted disk. That should be rather easy.

If you want Dolibarr to encrypt each file on write and decrypt on each read, then I think you need to do some coding in Dolibarr.