TripleDESStatic: IsWeakKey |
Determines if a key is weak or not.
Public Function IsWeakKey( ByRef RgbKey ( ) As Byte ) As Boolean
A weak key is determined if the first 64 bits are equal to the second 64 bits for a 128 bit key. For a 192 bit key, weakness is determined if the first 64 bits is equal to the second 64 bits, or if the second 64 bits is equal to the third 64 bits.