Initializes a new instance of the BlockCipher class.
Namespace: Renci.SshNet.Security.CryptographyAssembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax
protected BlockCipher( byte[] key, int blockSize, CipherMode mode, CipherPadding padding )
Parameters
- key
- Type:
System Byte
The key.
- blockSize
- Type:
System Int32
Size of the block.
- mode
- Type: Renci.SshNet.Security.Cryptography.Ciphers CipherMode
Cipher mode.
- padding
- Type: Renci.SshNet.Security.Cryptography.Ciphers CipherPadding
Cipher padding.
Exceptions
| Exception | Condition |
|---|---|
| key is null. |
See Also