Encrypted events with JSON underneath in RailsEventStore

One of the most wanted features in RES is the encryption of event payloads — full or partial . This allows storing sensitive information and is often necessary for compliance in particular domains. With Postgres backing the storage, it is natural to choose JSON/B as the data type for the event payload. It is the default. And a choice that further allows structural searches within event payloads…