Encrypt chat history

Hello, I would like to suggest the possibility of encrypting chat history data for MongoDB Chat Memory, Postgres Chat Memory, and Redis Chat Memory nodes.

The idea is:

Add a security layer to the chat history within the memory nodes that store it (MongoDB, Postgres, Redis Chat Memory, etc.)

My use case:

In my case, I have a chat workflow with an AI agent using RAG for general inquiries, and users can leave their contact information if they need help. Therefore, from a compliance standpoint, I’m required to encrypt this data for security.

I think it would be beneficial to add this because:

The overall benefit is added security and the ability to comply with information security standards, which adds a great deal of value to the latter.