How to configure a standard A12 application in a way that it encrypts data?

Question on behalf of @till-atomic-slope

How can I configure a standard A12 application in a way that it encrypts data before storing it to the DB?

Answer on behalf of @tomas-thin-gale

Encryption of data needs implementation an extension points right now. DS has examples how to handle this with documents " [dataservices]<INTERNAL_LINK>/[examples]<INTERNAL_LINK>/[examples-extending-server]<INTERNAL_LINK>/[src]<INTERNAL_LINK>/main/java/com/mgmtp/a12/dataservices/examples/document/encryption/EncryptionListeners.java"

with attachments BranchmasterBranch actions
[dataservices]<INTERNAL_LINK>/[examples]<INTERNAL_LINK>/[examples-extending-server]<INTERNAL_LINK>/[src]<INTERNAL_LINK>/main/java/com/mgmtp/a12/dataservices/examples/attachment/encryption/AttachmentEncryptionListeners.java"

Overall encryption of all communication between Kubernetes pods is now being analyzed here <INTERNAL_LINK>