File: index.html

package info (click to toggle)
node-crypto-browserify 3.12.0-7
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 240 kB
  • sloc: javascript: 1,029; makefile: 2
file content (12 lines) | stat: -rw-r--r-- 317 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
<!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>