SymmetricAlgorithm: ValidKeySize

ValidKeySize

Checks if the specific number of bits is a valid key size.



 Public Function ValidKeySize(
	  ByVal BitLength As Long ) As Boolean

Parameters

BitLength
[ByVal] Long. A value to determine if is a legal key size.

Return Values

Boolean -  Returns True if the bit length is a valid key size, False otherwise.

Remarks

See Also

Project VBCorLib Overview Class SymmetricAlgorithm Overview SymmetricAlgorithm Properties SymmetricAlgorithm Methods ToString