quantum-resistant-rustykey 0.2.0 → 0.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -1
- package/package.json +6 -1
package/README.md
CHANGED
|
@@ -43,6 +43,7 @@ Wasm code is compiled into a low-level bytecode that is validated before executi
|
|
|
43
43
|
### Cons
|
|
44
44
|
#### Complex
|
|
45
45
|
WASM is more complex to work with than JavaScript, and requires a build process to compile code into WASM modules and manual memory management, which is why this package exists...to make it easier for developers and end-users to incorporate the benefits of increased security and faster speed into their authentication, authorization and other encryption/decryption workflows.
|
|
46
|
+
|
|
46
47
|
#### No Direct DOM Access
|
|
47
48
|
WASM cannot directly manipulate the DOM. It relies on JavaScript to interact with the DOM, which adds complexity and can affect performance when frequent DOM interactions are needed.
|
|
48
49
|
#### Garbage Collection
|
|
@@ -137,7 +138,7 @@ When using ML-KEM in a web environment, consider the following security best pra
|
|
|
137
138
|
|
|
138
139
|
### Prerequisites
|
|
139
140
|
|
|
140
|
-
- Node.js >=
|
|
141
|
+
- Node.js >= 24.1.0 (optimal)
|
|
141
142
|
- Node.js >= 22 (current LTS)
|
|
142
143
|
- pnpm (pnpm for faster cache, but npm also works fine)
|
|
143
144
|
- Emscripten
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quantum-resistant-rustykey",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "ML-KEM (QRS) compiled to WebAssembly",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"keywords": [
|
|
@@ -32,6 +32,11 @@
|
|
|
32
32
|
"typescript": "^5.8.3",
|
|
33
33
|
"vitest": "^3.1.3"
|
|
34
34
|
},
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"next": "15.3.3",
|
|
37
|
+
"react": "19.1.0",
|
|
38
|
+
"react-dom": "19.1.0"
|
|
39
|
+
},
|
|
35
40
|
"scripts": {
|
|
36
41
|
"pre": "emcmake cmake -Bbuild -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=install && cmake --build build --target install",
|
|
37
42
|
"build": "tsup",
|