Encrypted Logs: part 1
Encrypted Logs: part 2: all encryption to be implemented in EncryptedDb class