Re: [Fed-Talk] hybrid crypto question
Re: [Fed-Talk] hybrid crypto question
- Subject: Re: [Fed-Talk] hybrid crypto question
- From: Jeffrey Walton <email@hidden>
- Date: Fri, 08 Jul 2011 12:48:16 -0400
On Fri, Jul 8, 2011 at 12:38 PM, Todd Heberlein <email@hidden> wrote:
> I'm hoping someone here might know the answer to this problem.
>
> I have client computers encrypting log files and forwarding them to a server. I have a public key distributed to the clients, but the log files are too large to be encrypted with a public key. To address this, I
> (1) generate a symmetric key on the fly
> (2) encrypt the log file using symmetric encryption
> (3) encrypt the symmetric key with the public key
> (4) Send both the encrypted log file and encrypted symmetric key to the server
Yes, this is pretty much standard (where's the MAC?).
> The problem is that now I need to track two files on the server. I would prefer that they were bundled together. Is there a standard way to combine these two into a single container file?
Try Shoup's ECIES. Not only does it encrypt the data and include the
symmetric key, it uses ECC and includes a MAC. ECIES is available in
Crypto++ (http://www.cryptopp.com/). I'm not sure about other
libraries - Shoup has his own library, and Gutmann's cryptlib might
have it. I don't believe OpenSSL has it.
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Fed-talk mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden