aswi2020vldc-gitlab/templetes/node_modules/crypto-browserify/example/index.html @ 9b6ff40e
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>
|