title: Crypto algorithm nodejs and c#
body: <p>My nodejs application is using crypto library to encrypt stream below</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>var gfsStream = gfs.createWriteStream(options)
  var rs = new BufferReadable()
  var encrypt = crypto.createCipher('aes-256-ctr', 'my password')
  rs.pipe(encrypt).pipe(gfsStream)</code></pre>
  </div>
  </div>
  </p>
  
  <p>How to decrypt in c# code?
  Thank you.</p>