<PackageReference Include="SSH.NET" Version="2020.0.2" />

Renci.SshNet.Security.Cryptography.SymmetricCipher

public abstract class SymmetricCipher : Cipher
Base class for symmetric cipher implementations.
namespace Renci.SshNet.Security.Cryptography { public abstract class SymmetricCipher : Cipher { protected byte[] Key { get; } protected SymmetricCipher(byte[] key); public abstract int EncryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset); public abstract int DecryptBlock(byte[] inputBuffer, int inputOffset, int inputCount, byte[] outputBuffer, int outputOffset); } }