Reputation: 143
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.
Upvotes: 0
Views: 1429
Reputation: 25197
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.
Upvotes: 3