<PackageReference Include="SSH.NET" Version="2016.1.0-beta3" />

Cipher

public abstract class Cipher
Base class for cipher implementation.
public abstract byte MinimumSize { get; }

Gets the minimum data size.

protected Cipher()

public abstract byte[] Decrypt(byte[] input)

Decrypts the specified input.

public abstract byte[] Decrypt(byte[] input, int offset, int length)

Decrypts the specified input.

public byte[] Encrypt(byte[] input)

Encrypts the specified input.

public abstract byte[] Encrypt(byte[] input, int offset, int length)

Encrypts the specified input.