You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

28 lines
921 B

  1. <html>
  2. <head>
  3. <meta charset="utf-8">
  4. <title>blindsig-client-server-example</title>
  5. </head>
  6. <body>
  7. <h3>blindsig-client-server-example (client in js version)</h3>
  8. <p>This is an example of usage of <a href="https://github.com/arnaucube/go-blindsecp256k1" target="_blank">https://github.com/arnaucube/go-blindsecp256k1</a></p>
  9. <br>
  10. Message (only numbers): <input id="msg" value="1234"></input>
  11. <button onClick="newRequest();">newRequest()</button>
  12. <p id="signerR"></p>
  13. <p id="signerQ"></p>
  14. <button onClick="askBlindSign();">askBlindSign()</button>
  15. <p id="sBlind"></p>
  16. <p id="sig"></p>
  17. <button onClick="verify();">verify()</button>
  18. <p id="verified"></p>
  19. <a href="index-wasm.html">View the WASM version</a>
  20. <script src="https://cdn.jsdelivr.net/npm/axios/dist/axios.min.js"></script>
  21. <script src="blindsecp256k1-browser.js"></script>
  22. <script src="index.js"></script>
  23. </body>
  24. </html>