I want to emit an event in Solidity that includes a bytes32 field. My frontend will listen for this event, but since events are publicly accessible on-chain, I want to ensure that only my frontend can interpret the data.
Even if someone else sees the event, they should only see an encrypted version of the data.
Is it possible to achieve this within Solidity? If so, what would be the best approach?