public BufferedStreamCipher( IStreamCipher cipher) { if (cipher == null) throw new ArgumentNullException("cipher"); this.cipher = cipher; }