title: nodejs md5 with raw_output like md5(data, raw_output) in php
body: <p><code>md5</code> in php:</p>
  <blockquote>
  <p>md5 ( string $str [, bool $raw_output = false ] )</p>
  <p>If the optional raw_output is set to TRUE, then the md5 digest is instead returned in raw binary format with a length of 16.</p>
  </blockquote>
  <p>so you can do this following in php:</p>
  <pre><code>$ php -a
  &gt;&gt;&gt; md5('data', true)
  =&gt; b&quot;ìw\x7F8]=■╚ü] ¸I`&amp;▄&quot;
  </code></pre>
  <p>I was tried using crypto in nodejs:</p>
  <pre><code>$ node
  &gt;&gt;&gt; crypto.createHash('md5').update('data').digest('binary')
  'w8]=þÈ] ÷I`&amp;Ü'
  </code></pre>
  <p>But the result not same</p>
  <p>I want to encrypt data with raw_output option in nodejs, how to achieve it？</p>