DESCryptoServiceProvider: 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

Only 64bits (8 bytes) is supported.

See Also

Project CorLib Overview

Class DESCryptoServiceProvider Overview