SymmetricAlgorithm: ValidKeySize

ValidKeySize

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



 Public Function ValidKeySize(
	  ByVal BitLength As Long ) As Boolean

Parameters

BitLength
[ByVal] Long. The length, in bits, to check for a valid key size.

Return Values

Boolean -  True if the specified key size is valid for the current algorithm; otherwise, False.

See Also

Project CorLib Overview

Class SymmetricAlgorithm Overview