Click or drag to resize

DESIsWeakKey Method

Determines whether the specified key is weak.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public static bool IsWeakKey(
	byte[] rgbKey
)

Parameters

rgbKey  Byte
The secret key to test for weakness.

Return Value

Boolean
true if the key is weak; otherwise, false.
Exceptions
ExceptionCondition
CryptographicExceptionThe size of the rgbKey parameter is not valid.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also