Re: C++ implementation?

From: Paul Khavkine (paul@inet-interactive.com)
Date: Fri Mar 14 2003 - 15:04:37 EST


Some bits of code in C using openSSL that seem to work with Crypt::CBC
Blowfish, should work in C++.

Cheers
Paul

On Wed, 12 Mar 2003, Colin Viebrock wrote:

> > My Blowfish code passes all the test vectors provided by
> > the original creator of Blowfish, located here,
> >
> > http://www.counterpane.com/blowfish.html
> >
> > But as I stated, it was through the help of others who
> > have successfully authored their own client code that I
> > found out that the de-facto blowfish standard does not
> > work with Tucows. In fact one person told me that they had
> > CounterPane help them with getting the Blowfish alogorithm
> > working and CounterPane told them the library you refer to
> > is slightly different than the Blowfish spec. Thus without
> > Tucows documenting this descrepency I'm SOL.
>
> If I understand correctly, then your beef isn't really with Tucows.
> It's with the people who wrote the Crypt::CBC Perl class.
>
> I ran into the same problem with the PHP client. I couldn't simply use
> the PHP commands to encode something with Blowfish (or DES) in CBC mode.
> I had to write a class to emulate the way Crypt:CBC works.
>
> If you want to take a look at the PHP code, and try and implement it in
> C++, it's here:
>
> http://cvs.php.net/co.php/pear/Crypt_CBC/CBC.php?r=1.4
>
> - Colin
>

-- 
************************************************
Paul Khavkine
Network Administrator
TELOSysteme, Groupe Distributel Communications
740 Notre Dame West, Suite 1135
Montreal, Quebec, Canada, H3C 3X6
1-514-877-0064
http://www.distributel.net
************************************************



This archive was generated by hypermail 2.1.3 : Tue Oct 19 2004 - 23:37:39 EDT