Hi,

> I would like to encrypt some information sent on an HTTP request and
> I'd like to use Crypto++ to do so.  However, I'm having trouble
> understanding what/how I need to add to my ISAPI filter to encrypt the
> data.   I want to take a piece of information and encrypt it using
> TRIPLE DES and set that in the http header that is sent back to the
> client.   Can anyone point me to an example of using Crypto++ to
> encrypt using a 16 byte encryption key and Triple DES (I have used the
> triple des algorithm in .Net C# before so I am familiar with that
> process, but not in C++ and using Crypto++

Look at the FAQ here for a few samples that should help:
http://www.cryptopp.com/fom-serve/cache/79.html

Since you want "Triple DES with a 16 byte encryption key," or 2-key
Triple-DES, just pick the one that works for you and substitute
CryptoPP::DES_EDE2 for whatever block cipher is used in that sample.
The interfaces are all the same.

FWIW, unless you have some legacy concern, AES is superior in every
way to 2- or 3-key triple DES.

HTH,

Geoff

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the "Crypto++ Users" 
Google Group.
To unsubscribe, send an email to [EMAIL PROTECTED]
More information about Crypto++ and this group is available at 
http://www.cryptopp.com.
-~----------~----~----~----~------~----~------~--~---

Reply via email to