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.

Était-ce utile?

La 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.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top