Class EncryptStream<T>
A wrapper stream that encrypts the base stream as it is being read.
public class EncryptStream<T> : EncryptStream, IDisposable, IAsyncDisposable where T : class, IEncryptionWrapper, new()
Type Parameters
T
- Inheritance
-
EncryptStream<T>
- Implements
- Derived
- Inherited Members
Constructors
EncryptStream(Stream, byte[], byte[])
Initializes an EncryptStream with an encryption algorithm and a base stream.
public EncryptStream(Stream baseStream, byte[] key, byte[] IV)