|
dev
newsgroups
|
|||||||||||||||||||||||
|
|||||||||||||||||||||||
Specified key is a known weak key for 'DES' and cannot be used.Does anyone know how to use weak keys with System.Security.Cryptography.DES?
There is a check-up implemented which throws CryptographicException if the DES key is weak ("Specified key is a known weak key for 'DES' and cannot be used."). My problem is that a certain communications standard is initiated with 00 00 00 00 00 00 00 00 as a DES key, thus there are two options: either use some other implementation of DES, or preferably, there is a way to pass this check in System.Security.Cryptography.DES. Any help is appreciated. |
|||||||||||||||||||||||