@keeex/crypto-provider-browser
v3.3.1
Published
Cryptographic provider based on browser support
Downloads
5
Readme
Browser implementation for the @keeex/crypto package
If you're developing for a browser environment; import this package alongside with @keeex/crypto
to use browser-based implementation.
This library provides some cryptographic features through the crypto
API found in web browsers.
When using the regular provider, some low-level features are provided using JavaScript
implementations (such as RIPEMD160 and SHA224).
Testing
Since some algorithms depends on browser implementation, it is possible to create test bundles with
npm test
.
It will create the test
directory containing HTML and JS files.
Loading the HTML into a browser should run the tests and display the result.