You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP
Socket
Sign inDemoInstall
Socket

@originjs/crypto-js-wasm

Package Overview
Dependencies
Maintainers
5
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@originjs/crypto-js-wasm - npm Package Compare versions

Comparing version

to
1.0.0

2

package.json
{
"name": "@originjs/crypto-js-wasm",
"version": "1.0.0-beta0",
"version": "1.0.0",
"description": "An alternate to crypto-js implemented with WebAssembly and ESM",

@@ -5,0 +5,0 @@ "main": "lib/index.js",

@@ -14,3 +14,3 @@ # @originjs/crypto-js-wasm

- **Versatile**: **15+** crypto standards supported, including MD5, SHA-x, AES, RC4, etc
- **ESM**: Crypto standards can be imported as **ES modules**
- **ESM**: Written in ESM, build as UMD for compatibility

@@ -43,4 +43,2 @@

```javascript

@@ -64,4 +62,8 @@ import CryptoJSW from 'crypto-js-wasm';

Please note that `HMAC` does not have a `loadWasm`, as a hasher must be specified if you want to use `HMAC` (i.e. `HmacSHA1`).
And the `loadWasm` in `pbkdf2` only calls `SHA1.loadWasm` as `SHA1` is the default hasher of `pbkdf2`. If you specified another hasher, the corresponding `loadWasm` of the hasher should be called repectly. Same case in `evpkdf`/`MD5` as `MD5` is the default hasher of `evpkdf`.
**Available standards**

@@ -68,0 +70,0 @@

Sorry, the diff of this file is too big to display