TripleDESCryptoServiceProvider: 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 128bit and 192bit are supported.

See Also

Project VBCorLib Overview Class TripleDESCryptoServiceProvider Overview TripleDESCryptoServiceProvider Properties TripleDESCryptoServiceProvider Methods TripleDES