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 -  True if the number of bits is supported, False otherwise.

Remarks

Only 128-bit and 192-bit are supported.

See Also

Project CorLib Overview

Class TripleDESCryptoServiceProvider Overview