DES Encryption: Looking for results for each round of encryption/decryption to debug code

I’ve been searching for a few days in different forums trying to find an example of DES that gives the key/output values for all 16 layers. I found one that gives the encryption which helped me fix that part, but my decryption isn’t workin… Continue reading DES Encryption: Looking for results for each round of encryption/decryption to debug code

How to calculate size of a codebook lookup table to break block cipher? [migrated]

I was reading a book called Serious Cryptography. There is a page saying that block size must be large enough to prevent codebook attacks:

When 16-bit blocks are used, the lookup table needs only 2^16 × 16 = 2^20 bits
of memory, or 128 ki… Continue reading How to calculate size of a codebook lookup table to break block cipher? [migrated]

Would Triple DES-X with 7 keys be much slower than standard Triple DES? [migrated]

Since a single hardware pass of an XOR with a 64 bit key is very fast, would Triple DES-X using seven 64 bit keys used in the following manner be virtually identical in terms of code size, memory consumption, and execution speed to 3DES?

Continue reading Would Triple DES-X with 7 keys be much slower than standard Triple DES? [migrated]