@alikhalilll/nuxt-crypto 1.3.0 → 1.3.2

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 CHANGED
@@ -1,6 +1,15 @@
1
- # @alikhalilll/nuxt-crypto
1
+ <p align="center">
2
+ <picture>
3
+ <source media="(prefers-color-scheme: dark)" srcset="https://raw.githubusercontent.com/alikhalilll/ali-nuxt-toolkit/master/packages/crypto/logo-dark.png">
4
+ <img src="https://raw.githubusercontent.com/alikhalilll/ali-nuxt-toolkit/master/packages/crypto/logo-light.png" alt="nuxt-crypto" width="96" height="96">
5
+ </picture>
6
+ </p>
2
7
 
3
- Symmetric encryption for Nuxt 3 / 4, built on the native **Web Crypto API**. Defaults to **AES-256-GCM** with **PBKDF2-SHA256** key derivation.
8
+ <h1 align="center">@alikhalilll/nuxt-crypto</h1>
9
+
10
+ <p align="center">Symmetric encryption for Nuxt 3 / 4 built on the native <strong>Web Crypto API</strong>. Defaults to <strong>AES-256-GCM</strong> with <strong>PBKDF2-SHA256</strong> key derivation.</p>
11
+
12
+ ---
4
13
 
5
14
  - **Framework-agnostic core** — `createCryptoService()` works anywhere `SubtleCrypto` exists (browser, Deno, Bun, Node 20+).
6
15
  - **Key caching** — derived keys are cached per salt, so bulk decrypt stays fast even at 100k+ PBKDF2 iterations.
package/logo-dark.png ADDED
Binary file
package/logo-light.png ADDED
Binary file
package/logo.svg ADDED
@@ -0,0 +1,23 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" fill="none">
2
+ <circle cx="32" cy="32" r="26" stroke="currentColor" stroke-width="2.5"/>
3
+ <g stroke="currentColor" stroke-width="2.5" stroke-linecap="round">
4
+ <g transform="translate(20 32)">
5
+ <line x1="-4" y1="0" x2="4" y2="0"/>
6
+ <line x1="0" y1="-4" x2="0" y2="4"/>
7
+ <line x1="-3" y1="-3" x2="3" y2="3"/>
8
+ <line x1="3" y1="-3" x2="-3" y2="3"/>
9
+ </g>
10
+ <g transform="translate(32 32)">
11
+ <line x1="-4" y1="0" x2="4" y2="0"/>
12
+ <line x1="0" y1="-4" x2="0" y2="4"/>
13
+ <line x1="-3" y1="-3" x2="3" y2="3"/>
14
+ <line x1="3" y1="-3" x2="-3" y2="3"/>
15
+ </g>
16
+ <g transform="translate(44 32)">
17
+ <line x1="-4" y1="0" x2="4" y2="0"/>
18
+ <line x1="0" y1="-4" x2="0" y2="4"/>
19
+ <line x1="-3" y1="-3" x2="3" y2="3"/>
20
+ <line x1="3" y1="-3" x2="-3" y2="3"/>
21
+ </g>
22
+ </g>
23
+ </svg>
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@alikhalilll/nuxt-crypto",
3
- "version": "1.3.0",
4
- "description": "Symmetric Web Crypto service for Nuxt 3/4. AES-256-GCM + PBKDF2 with key caching, pluggable algorithms, and optional device-fingerprint binding.",
3
+ "version": "1.3.2",
4
+ "description": "Symmetric encryption for Nuxt 3 / 4 and Vue 3, built on the native Web Crypto API — AES-256-GCM with PBKDF2 key derivation, key caching, pluggable algorithms, and optional device-fingerprint binding.",
5
5
  "license": "MIT",
6
6
  "author": "alikhalilll",
7
7
  "repository": {
@@ -20,13 +20,35 @@
20
20
  },
21
21
  "keywords": [
22
22
  "nuxt",
23
+ "nuxt3",
24
+ "nuxt4",
23
25
  "nuxt-module",
26
+ "nuxt-crypto",
27
+ "nuxt-encryption",
28
+ "nuxt-security",
29
+ "vue-crypto",
30
+ "vue-encryption",
24
31
  "crypto",
32
+ "cryptography",
25
33
  "encryption",
34
+ "decryption",
35
+ "encrypt-decrypt",
36
+ "cipher",
37
+ "aes",
26
38
  "aes-gcm",
27
- "web-crypto",
39
+ "aes-256-gcm",
28
40
  "pbkdf2",
29
- "fingerprint"
41
+ "pbkdf2-sha256",
42
+ "web-crypto",
43
+ "web-crypto-api",
44
+ "subtle-crypto",
45
+ "symmetric-encryption",
46
+ "key-derivation",
47
+ "cookie-encryption",
48
+ "device-binding",
49
+ "device-fingerprint",
50
+ "fingerprint",
51
+ "typescript"
30
52
  ],
31
53
  "exports": {
32
54
  ".": {
@@ -66,6 +88,9 @@
66
88
  },
67
89
  "files": [
68
90
  "dist",
91
+ "logo.svg",
92
+ "logo-dark.png",
93
+ "logo-light.png",
69
94
  "README.md",
70
95
  "LICENSE"
71
96
  ],