Hello!

I found the following lines in the file "des.cpp"
(crypto++, Version 5.5.2):
"/* bit 0 is left-most in byte */
static const int bytebit[] = {
           0200,0100,040,020,010,04,02,01
};"
Shouldn't that be hex? Maybe like this:
"static const int bytebit[] = {
           0x0200,0x0100,0x040,0x020,0x010,
0x04,0x02,0x01};"?

Does the algorithm work then? My tests
say no. But I am not so sure about my
tests.

Kind Regards,
Stephan.
--~--~---------~--~----~------------~-------~--~----~
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