Click or drag to resize

SymmetricAlgorithmValidKeySize Method

Determines whether the specified key size is valid for the current algorithm.

Namespace: Crestron.SimplSharp.Cryptography
Assembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntax
C#
public bool ValidKeySize(
	int bitLength
)

Parameters

bitLength  Int32
The length, in bits, to check for a valid key size.

Return Value

Boolean
true if the specified key size is valid for the current algorithm; otherwise, false.

Version Information

.NET

Supported in: 6.0

.NET Compact Framework

Supported in: 3.5
See Also