Eventsourcing

47 views
Skip to first unread message

@marcofranssen

unread,
Feb 22, 2012, 10:58:03 AM2/22/12
to DDD/CQRS
I'm currently encrypting some data before I'm applying the event.

What is the best when I want to include the encrypted data on my
event?

Should I just eventsource the byte[] or should I use
Convert.ToBase64String(byteArray)?

@yreynhout

unread,
Feb 22, 2012, 4:29:03 PM2/22/12
to DDD/CQRS
What are you trying to achieve wrt event consumers? Are you trying to
protect against eavesdropping?

Greg Young

unread,
Feb 22, 2012, 4:29:49 PM2/22/12
to ddd...@googlegroups.com
byte [] decide later at point of serialization if you prefer strings.
--
Le doute n'est pas une condition agréable, mais la certitude est absurde.

@marcofranssen

unread,
Feb 23, 2012, 4:27:31 AM2/23/12
to DDD/CQRS
Thanks. That was my first thought too...

On 22 feb, 22:29, Greg Young <gregoryyou...@gmail.com> wrote:
> byte [] decide later at point of serialization if you prefer strings.
>
> On Wed, Feb 22, 2012 at 10:58 AM, @marcofranssen
> <marco.frans...@gmail.com>wrote:

@marcofranssen

unread,
Feb 23, 2012, 4:31:33 AM2/23/12
to DDD/CQRS
I need to store a link to external data, but it should not be obvious
to which data it is linked because of several reasons. So I hashed the
data so the link can be resolved only from the external source. With
the link the patients research data can be retrieved. We can't find
the patient data from the research data. This is a requirement,
because the organization isn't allowed to store any patient
information.
Reply all
Reply to author
Forward
0 new messages