SymmetricCipher
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;
}
}
}