index.html 317 B

12345678910111213
  1. <!doctype html>
  2. <html>
  3. <script src=bundle.js></script>
  4. <body>
  5. <pre>
  6. require('crypto').createHash('sha1').update('abc').digest('hex') == '<span id=ans></span>'
  7. </pre>
  8. </body>
  9. <script>
  10. document.getElementById('ans').innerHTML = require('crypto').createHash('sha1').update('abc').digest('hex')
  11. </script>
  12. </html>