title: How do I make a scrypt hash using Node.js's crypto library?
body: <pre><code>function sha512(s){
      var sha = crypto.createHash('sha512');
      sha.update(s);
      return sha.digest('hex');
  };
  exports.sha512 = sha512;
  </code></pre>
  
  <p>I'm using this right now, but I want to switch it to scrypt.  How can I do that?</p>