Hi,
can I use in DES 16byte keys ???
If I can, how to use it, I took part from test.h:

CFB_Mode<DES>::Encryption encryption_DES_CBC;
encryption_DES_CBC.SetKeyWithIV(key, 16, iv);
encryption_DES_CBC.ProcessString(ciphertext, plaintext, 24);

but I still got the same exception while using
try{ DES::Encryption des; }
" cannot evaluate expression "

well, in fact I need to use ECB_Mode<DES>::Encryption but I still have the
same exceptions, my piece of code looks like this:

        ECB_Mode<DES>::Encryption Encr;
        Encr.SetKey(key1,16);
        Encr.ProcessString(C1,CipherData,8);

could anyone tell me what to do ???

Reply via email to