Browser JavaScript library for working with hardware tokens
The easiest way for managing JavaScript-s on a website is with Bower:
$ bower install --save hwcrypto
Alternatively you can download the files from release area.
hwcrypto.js
itself does not do much, it depends on trusted platform code (installed separately and often running outside of the browser) to do the heavy lifting.
Latest version has built-in support for:
Supports all latest browsers:
- Chrome 40+
- Firefox
- IE 9+
- Safari
NOTE: The API makes use of Promises and Typed Arrays. Some browsers, notably older IE-s, require polyfills for them. Complimentary code is bundled into hwcrypto-legacy.js
:
- https://github.com/inexorabletash/polyfill (license: Public Domain / MIT)
- https://github.com/getify/native-promise-only/ (license: MIT)
Distribution and installation of any necessary backend components is out of scope of this project.
For further instructions on how to use the interface please have a look at API specification v1
For background information about the project and other volatile information, please head to the wiki
For any bugs and enhancements, please open an issue on Github. For issues with specific backends, please file tickets with backend components.
- 0.0.12
- IE Plugin 3.13.0 supports info and filter parameter
- 0.0.11
- Do not require Chrome for WebExtension check (to support Firefox and possibly Edge in the future)
- 0.0.10
- Minor speed improvements and fixes for older IE-s
- 0.0.9
- Have only typed arrays and promises in the legacy helper
- 0.0.8
- Make internal API also asynchronous, to work with old IE-s
- Have a convenience-bundle
hwcrypto-legacy.js