Integrating the legacy CDDC JavaScript in your web pages
- <!-- index.html -->
- <!DOCTYPE html>
- <html lang="en">
- <head>
- <meta charset="UTF-8">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <title>Document</title>
- </head>
- <body>
- <script src="https://code.jquery.com/jquery-3.5.1.min.js"
- integrity="sha256-9/aliU8dGd2tb6OSsuzixeV4y/faTqgFtohetphbbj0="
- crossorigin="anonymous">
- </script>
- <script src="./lib/Vasco.IdKey.RM.CDDC.min.js"></script>
- <script type="text/javascript">
- var fingerprint = $.Vasco.getJSON();
- var fingerprintHash = $.Vasco.getHASH();
- console.log('fingerprint is ' + fingerprint);
- console.log('fingerprint hash is ' + fingerprintHash);
- </script>
- </body>
- </html>