Mono Class Library: System.Security.Cryptography.DES Overview | Members

System.Security.Cryptography.DES.IsWeakKey Method

Check if the specified key is a known DES weak key.

public static bool IsWeakKey (byte[] rgbKey)

Parameters

rgbKey
The secret key to be verified.

Returns

True if the key is a known weak key, false otherwise.

Remarks

The DES implementation included in Mono won't accept a weak or semi-weak key.

Requirements

Namespace: System.Security.Cryptography
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0