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

Renci.SshNet.Security.Cryptography.BlockCipher

public abstract class BlockCipher : SymmetricCipher
Base class for block cipher implementations.
namespace Renci.SshNet.Security.Cryptography { public abstract class BlockCipher : SymmetricCipher { public byte BlockSize { get; } protected BlockCipher(byte[] key, byte blockSize, CipherMode mode, CipherPadding padding); 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); } }