management/front/dkha-web-sz-main/node_modules/crypto-browserify/example/index.html

13 lines
317 B
HTML
Raw Normal View History

2023-12-18 13:12:25 +08:00
<!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>