Return the key size in bytes for a given cipher algorithm.
Namespace: CryptoSysPKIAssembly: diCrSysPKINet (in diCrSysPKINet.dll) Version: 23.0.0.30549 (23.1.0.0)
Syntaxpublic static int KeyBytes(
CipherAlgorithm alg
)
Public Shared Function KeyBytes (
alg As CipherAlgorithm
) As Integer
Parameters
- alg CipherAlgorithm
- Cipher algorithm
Return Value
Int32Key size in bytes
See Also