DESStatic: IsSemiWeakKey

IsSemiWeakKey

Determins if a key is considered semi-weak.



 Public Function IsSemiWeakKey(
	  ByRef RgbKey ( ) As Byte ) As Boolean

Parameters

RgbKey
[ByRef] Byte. The key to check for semi-weakness.

Return Values

Boolean -  Returns True if the key is semi-weak, False otherwise.

Remarks

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"
 

See Also

Project CorLib Overview

Class DESStatic Overview