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

System.Security.Cryptography.DES.IsSemiWeakKey Method

Check if the specified key is a known DES semi-weak key. [Edit]

public static bool IsSemiWeakKey (byte[] rgbKey)

Parameters

rgbKey
The secret key to be verified. [Edit]

Returns

True if the key is a known semi-weak key, false otherwise. [Edit]

Remarks

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

Requirements

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