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

System.Security.Cryptography.SymmetricAlgorithm.ValidKeySize Method

Checks wether the given keyLength is valid for the current algorithm.

public bool ValidKeySize (int bitLength)

Parameters

bitLength
the given keyLength

Returns

True if the key length is valid for the algorithm, false otherwise.

Remarks

Documentation for this section has not yet been entered.

Requirements

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