Class SymmetricCipher
- Namespace
- Renci.SshNet.Security.Cryptography
- Assembly
- Renci.SshNet.dll
Base class for symmetric cipher implementations.
public abstract class SymmetricCipher : Cipher
- Inheritance
-
SymmetricCipher
- Derived
- Inherited Members
Constructors
SymmetricCipher(byte[])
Initializes a new instance of the SymmetricCipher class.
protected SymmetricCipher(byte[] key)
Parameters
key
byte[]The key.
Exceptions
- ArgumentNullException
key
is null.
Properties
Key
Gets the key.
protected byte[] Key { get; }
Property Value
- byte[]