0.2.4 • Published 1 year ago

@alsadi/hmac_sha256_fallback v0.2.4

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

HMAC SHA256 Fallback for legacy browsers

We compiled from C to WASM then from WASM to JS Using Binaryen

This package has no dependency as all you need is shipped

Installation

npm install --save-dev '@alsadi/hmac_sha256_fallback'

then you can use files in your node_modules/

node_modules/@alsadi/hmac_sha256_fallback/public/dist/hmac_sha256.min.js

We got you covered, it's compressed and minified

You can use it in your HTML from unpkg like this

<script src="https://www.unpkg.com/@alsadi/hmac_sha256_fallback@0.2.4/public/dist/hmac_sha256.min.js"></script>
<script>
console.log(crypto_hmac_sha256.hmac_sha256("key", "msg"));
</script>

Demo

Here is the online demo

enter public directory and run a static server to test

cd node_modules/@alsadi/hmac_sha256_fallback/public/
python3 -m http.server 3000
0.2.4

1 year ago

0.2.3

1 year ago

0.2.1

1 year ago

0.0.9

1 year ago

0.0.8

1 year ago

0.0.7

1 year ago