Newer
Older
alert / js / node_modules / crypto-browserify / example / index.html
@Réz István Réz István on 18 Nov 2021 317 bytes first commit
<!doctype html>
<html>
<script src=bundle.js></script>
<body>
  <pre>
  require('crypto').createHash('sha1').update('abc').digest('hex') == '<span id=ans></span>'
  </pre>
</body>
<script>
  document.getElementById('ans').innerHTML = require('crypto').createHash('sha1').update('abc').digest('hex')
</script>
</html>