title: Reverse hashing in node js?
body: <p>I am using the below code to hash a data and it's working fine.
  Took the code from
  <a href="https://nodejs.org/api/crypto.html#crypto_crypto" rel="nofollow noreferrer">crypto website</a></p>
  
  <pre><code>const crypto = require('crypto');
  
  const secret = 'abcdefg';
  const hash = crypto.createHmac('sha256', secret)
                     .update('I love cupcakes')
                     .digest('hex');
  console.log(hash);
  // Prints:
  //   c0fa1bc00531bd78ef38c628449c5102aeabd49b5dc3a2a516ea6ea959d6658e
  </code></pre>
  
  <p>My problem is how to reverse this?
  How can I un-hash a data to a normal text again?</p>