Question

Is there a 112-bits Triple DES example implementation in Python?

I've found pydes, but it works only with 16 or 24 bytes for Triple DES.

Was it helpful?

Solution

In DES keys, the least significant bit of each byte is used for a parity check. So, in 16 bytes there are only 16 * 7 = 112 independent bits. 112 bits is commonly known as the effective key size/length for TDEA (the official NIST name of triple DES) keying option #2. 112 bit keys for TDEA are also known as DES ABA keys as the 1st and 3rd keys are identical within the scheme.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top