Hi Frank, > I guess what I'd like is a tutorial/example that: The wiki and FAQ have plenty of samples. See http://www.cryptopp.com/wiki/ and http://www.cryptopp.com/fom-serve/cache/1.html. As far as the FAQ, see the entry, "How do I use a block cipher in Crypto++ 5.x?".
> 1. Shows me EXACTLY what includes I need for TRIPLE DES. des.h > 2. How to decrypt a string using TRIPLE DES. The cipher is of little consequence - Crypto++ code is written in such a way that the objects expose a consistent interface. So there is nothing special to using 3DES. Jeff On 9/29/07, FrankT <[EMAIL PROTECTED]> wrote: > > Geoff, > > Thank you so much for your reply. And I'm so sorry to be a pain but > I'm totally lost. I guess I shouldn't even be doing this coding but > hey, I'm stuck with it :) > > I guess what I'd like is a tutorial/example that: > > 1. Shows me EXACTLY what includes I need for TRIPLE DES. > 2. How to decrypt a string using TRIPLE DES. > > I'm stuck with TRIPLE DES for other reasons but I appreciate your > advice on AES. I'll keep that in mind for a future upgrade. Is > there any example that shows me from lust to dust how to decrypt a > string encoding in TRIPLE DES using a 16 byte key? > > Thanx in advance, > Frank > > On Sep 25, 10:42 pm, "Geoff Beier" <[EMAIL PROTECTED]> wrote: > > 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. -~----------~----~----~----~------~----~------~--~---
