Incog.Messaging.IncogStream.IncogStream C# (CSharp) Method

IncogStream() public method

Initializes a new instance of the IncogStream class.
public IncogStream ( Stream stream, SecureString passphrase ) : System
stream Stream The stream to write to and read from.
passphrase System.Security.SecureString The secure string used to encrypt messages written to the stream and decrypt messages read from the stream.
return System
        public IncogStream(Stream stream, SecureString passphrase)
        {
            this.innerStream = stream;
            this.mycrypt = new Cryptkeeper(passphrase);
            this.targetEntropy = 0;
        }

Same methods

IncogStream::IncogStream ( Stream stream, SecureString passphrase, double entropy ) : System