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

SymmetricCipher

public abstract class SymmetricCipher : Cipher
Base class for symmetric cipher implementations.
using Renci.SshNet.Common; namespace Renci.SshNet.Security.Cryptography { public abstract class SymmetricCipher : Cipher { protected byte[] Key { get; set; } protected SymmetricCipher(byte[] key) { ThrowHelper.ThrowIfNull(key, "key"); Key = key; } } }