RijndaelManaged: ValidKeySize

ValidKeySize

Tests if a specific bit length is valid for a key.



 Public Function ValidKeySize(
	  ByVal BitLength As Long ) As Boolean

Parameters

BitLength
[ByVal] Long. The number of bits to test for.

Return Values

Boolean -  Return True if the number of bits is supported, False otherwise.

Remarks

128, 192, 256 bit keys are supported.

See Also

Project CorLib Overview

Class RijndaelManaged Overview