DESStatic: IsSemiWeakKey |
Determins if a key is considered semi-weak.
Public Function IsSemiWeakKey( ByRef RgbKey ( ) As Byte ) As Boolean
DES has a set of keys known to be semi-weak. The key to be tested is compared to this set of known semi-weak keys.
The set of semi-weak keys are:
"E001E001F101F101" "01E001E001F101F1" "FE1FFE1FFE0EFE0E" "1FFE1FFE0EFE0EFE" "E01FE01FF10EF10E" "1FE01FE00EF10EF1" "01FE01FE01FE01FE" "FE01FE01FE01FE01" "011F011F010E010E" "1F011F010E010E01" "E0FEE0FEF1FEF1FE" "FEE0FEE0FEF1FEF1"