Click or drag to resize

DESIsSemiWeakKey Method

Determines whether the specified key is semi-weak.

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

Parameters

rgbKey  Byte
The secret key to test for semi-weakness.

Return Value

Boolean
true if the key is semi-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