CryptoSys PKI Pro Manual

Cipher.KeyBytes Method

Return the key size in bytes for a given cipher algorithm.

Syntax

[C#]
public static int KeyBytes(
	CipherAlgorithm alg
)
[VB.NET]
Public Shared Function KeyBytes ( _
	alg As CipherAlgorithm _
) As Integer

Parameters

alg
Type: CipherAlgorithm
Cipher algorithm

Return Value

Key size in bytes

[Contents] [Index]

[PREV: Cipher.FileEncrypt Method (String, String, String, String, CipherAlgorithm, Mode, Padding, Cipher.Opts)...]   [Contents]   [Index]   
   [NEXT: Cipher.KeyUnwrap Method...]

Copyright © 2004-24 D.I. Management Services Pty Ltd. All rights reserved. Generated 2024-09-23T07:52:09Z.