public StreamBlockCipher( IBlockCipher cipher) { if (cipher == null) throw new ArgumentNullException("cipher"); if (cipher.GetBlockSize() != 1) throw new ArgumentException("block cipher block size != 1.", "cipher"); this.cipher = cipher; }