Return the key size in bytes for a given cipher algorithm
Namespace: CryptoSysAPIAssembly: diCrSysAPINet (in diCrSysAPINet.dll) Version: 6.22.2.24248 (6.22.2.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