Arc4Cipher EncryptBlock Method SSH .NET Client Library Documentation
Encrypts the specified region of the input byte array and copies the encrypted data to the specified region of the output byte array.

Namespace: Renci.SshNet.Security.Cryptography.Ciphers
Assembly: Renci.SshNet (in Renci.SshNet.dll) Version: 0.1.0.0 (1.0.0.0)
Syntax

public override int EncryptBlock(
	byte[] inputBuffer,
	int inputOffset,
	int inputCount,
	byte[] outputBuffer,
	int outputOffset
)

Parameters

inputBuffer
Type:  OnlineSystem Byte 
The input data to encrypt.
inputOffset
Type: OnlineSystem Int32
The offset into the input byte array from which to begin using data.
inputCount
Type: OnlineSystem Int32
The number of bytes in the input byte array to use as data.
outputBuffer
Type:  OnlineSystem Byte 
The output to which to write encrypted data.
outputOffset
Type: OnlineSystem Int32
The offset into the output byte array from which to begin writing data.

Return Value

The number of bytes encrypted.
See Also