I am implementing an application that needs to use TripleDES encryption with keys of size 112 bits (14 bytes), is that possible in C#, since the documentation states that the algorithm permits keys only in the range 128-192 bits.
I am implementing an application that needs to use TripleDES encryption with keys of
Share
The 128-bit key size is the 112-bit version. With each 64-bit DES key, 8 bits are parity.
[Edit: Following paragraph is from an incorrect reading of the above question, which is two-key TripleDES rather than DoubleDES. Thanks to GregS for pointing this out.]
Also note that double DES is not stronger than normal DES due to a meet in the middle attack. Only use double DES for backwards compatibility. Consider AES for most purposes (or the older RC4 for SSL until TLS 1.1. or better BEAST attack protection is more prevalent).