Skip to content

Commit fa2cb0b

Browse files
committed
docs: complete PR review requirements
- Update benchmark section with 2MB payload example - Make coverage table headers sticky for better UX - Restore detailed key format tables for SubtleCrypto
1 parent 536d9a3 commit fa2cb0b

2 files changed

Lines changed: 94 additions & 1 deletion

File tree

docs/components/CoverageTable.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export function CoverageTable() {
194194
) : (
195195
filteredCategories.map((category) => (
196196
<div key={category.title} className="bg-fd-card rounded-xl border border-fd-border overflow-hidden">
197-
<div className="px-6 py-4 bg-fd-secondary/30 border-b border-fd-border">
197+
<div className="px-6 py-4 bg-fd-secondary/30 border-b border-fd-border sticky top-16 z-10 backdrop-blur-md">
198198
<h3 className="font-semibold text-lg">{category.title}</h3>
199199
{category.description && (
200200
<p className="text-sm text-fd-muted-foreground mt-1">{category.description}</p>

docs/content/docs/introduction/coverage.mdx

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,99 @@ import { CheckCircle2, AlertTriangle, XCircle } from 'lucide-react';
2424
</div>
2525
</div>
2626

27+
2728
<div className="mt-8">
2829
<CoverageTable />
2930
</div>
31+
32+
## Key Formats & Capabilities
33+
34+
### `crypto.subtle.importKey`
35+
36+
| Key Type | `spki` | `pkcs8` | `jwk` | `raw` | `raw-secret` | `raw-public` | `raw-seed` |
37+
| ------------------- | :----: | :-----: | :---: | :---: | :----------: | :----------: | :--------: |
38+
| `AES-CBC` | | |||| | |
39+
| `AES-CTR` | | |||| | |
40+
| `AES-GCM` | | |||| | |
41+
| `AES-KW` | | |||| | |
42+
| `AES-OCB` | | || || | |
43+
| `ChaCha20-Poly1305` | | || || | |
44+
| `ECDH` ||||| || |
45+
| `ECDSA` ||||| || |
46+
| `Ed25519` ||||| || |
47+
| `Ed448` ||||| || |
48+
| `HKDF` | | | ||| | |
49+
| `HMAC` | | |||| | |
50+
| `ML-DSA-44` |||| | |||
51+
| `ML-DSA-65` |||| | |||
52+
| `ML-DSA-87` |||| | |||
53+
| `ML-KEM-512` ||| | | |||
54+
| `ML-KEM-768` ||| | | |||
55+
| `ML-KEM-1024` ||| | | |||
56+
| `PBKDF2` | | | ||| | |
57+
| `RSA-OAEP` |||| | | | |
58+
| `RSA-PSS` |||| | | | |
59+
| `RSASSA-PKCS1-v1_5` |||| | | | |
60+
| `X25519` ||||| || |
61+
| `X448` ||||| || |
62+
63+
### `crypto.subtle.exportKey`
64+
65+
| Key Type | `spki` | `pkcs8` | `jwk` | `raw` | `raw-secret` | `raw-public` | `raw-seed` |
66+
| ------------------- | :----: | :-----: | :---: | :---: | :----------: | :----------: | :--------: |
67+
| `AES-CBC` | | |||| | |
68+
| `AES-CTR` | | |||| | |
69+
| `AES-GCM` | | |||| | |
70+
| `AES-KW` | | |||| | |
71+
| `AES-OCB` | | || || | |
72+
| `ChaCha20-Poly1305` | | || || | |
73+
| `ECDH` ||||| || |
74+
| `ECDSA` ||||| || |
75+
| `Ed25519` ||||| || |
76+
| `Ed448` ||||| || |
77+
| `HMAC` | | |||| | |
78+
| `ML-DSA-44` |||| | |||
79+
| `ML-DSA-65` |||| | |||
80+
| `ML-DSA-87` |||| | |||
81+
| `ML-KEM-512` ||| | | |||
82+
| `ML-KEM-768` ||| | | |||
83+
| `ML-KEM-1024` ||| | | |||
84+
| `RSA-OAEP` |||| | | | |
85+
| `RSA-PSS` |||| | | | |
86+
| `RSASSA-PKCS1-v1_5` |||| | | | |
87+
| `X25519` ||||| || |
88+
| `X448` ||||| || |
89+
90+
### `crypto.subtle.generateKey`
91+
92+
**CryptoKeyPair algorithms**
93+
94+
| Algorithm | Status |
95+
| --------- | :----: |
96+
| `ECDH` ||
97+
| `ECDSA` ||
98+
| `Ed25519` ||
99+
| `Ed448` ||
100+
| `ML-DSA-44` ||
101+
| `ML-DSA-65` ||
102+
| `ML-DSA-87` ||
103+
| `ML-KEM-512` ||
104+
| `ML-KEM-768` ||
105+
| `ML-KEM-1024` ||
106+
| `RSA-OAEP` ||
107+
| `RSA-PSS` ||
108+
| `RSASSA-PKCS1-v1_5` ||
109+
| `X25519` ||
110+
| `X448` ||
111+
112+
**CryptoKey algorithms**
113+
114+
| Algorithm | Status |
115+
| --------- | :----: |
116+
| `AES-CTR` ||
117+
| `AES-CBC` ||
118+
| `AES-GCM` ||
119+
| `AES-KW` ||
120+
| `AES-OCB` ||
121+
| `ChaCha20-Poly1305` ||
122+
| `HMAC` ||

0 commit comments

Comments
 (0)