aswi2020vldc-gitlab/templetes/node_modules/crypto-browserify/example/index.html @ 56f6c6df
1 | 3a515b92 | cagy | <!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>
|