> 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