SymmetricAlgorithmValidKeySize Method |
Determines whether the specified key size is valid for the current algorithm.
Namespace: Crestron.SimplSharp.CryptographyAssembly: SimplSharpCryptographyInterface (in SimplSharpCryptographyInterface.dll) Version: 2.21.121
Syntaxpublic bool ValidKeySize(
int bitLength
)
Parameters
- bitLength Int32
- The length, in bits, to check for a valid key size.
Return Value
Booleantrue if the specified key size is valid for the current algorithm; otherwise, false.
Version Information
.NET
Supported in: 6.0
.NET Compact Framework
Supported in: 3.5
See Also