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

SymmetricCipher

public abstract class SymmetricCipher : Cipher
Base class for symmetric cipher implementations.
using System; namespace Renci.SshNet.Security.Cryptography { public abstract class SymmetricCipher : Cipher { protected byte[] Key { get; set; } protected SymmetricCipher(byte[] key) { if (key == null) throw new ArgumentNullException("key"); Key = key; } } }