| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent b992962 commit 981ce96
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1172,7 +1172,7 @@ changes: | |||
| 1172 | 1172 | * `options` {Object} [`stream.transform` options][] | |
| 1173 | 1173 | * `plaintextLength` {number} | |
| 1174 | 1174 | * `encoding` {string} String encoding to use when `buffer` is a string. | |
| 1175 | - * Returns: {Decipheriv} The same Decipher for method chaining. | ||
| 1175 | + * Returns: {Decipheriv} The same `Decipheriv` instance for method chaining. | ||
| 1176 | 1176 | ||
| 1177 | 1177 | When using an authenticated encryption mode (`GCM`, `CCM`, `OCB`, and | |
| 1178 | 1178 | `chacha20-poly1305` are | |
@@ -1219,7 +1219,7 @@ changes: | |||
| 1219 | 1219 | ||
| 1220 | 1220 | * `buffer` {string|Buffer|ArrayBuffer|TypedArray|DataView} | |
| 1221 | 1221 | * `encoding` {string} String encoding to use when `buffer` is a string. | |
| 1222 | - * Returns: {Decipheriv} The same Decipher for method chaining. | ||
| 1222 | + * Returns: {Decipheriv} The same `Decipheriv` instance for method chaining. | ||
| 1223 | 1223 | ||
| 1224 | 1224 | When using an authenticated encryption mode (`GCM`, `CCM`, `OCB`, and | |
| 1225 | 1225 | `chacha20-poly1305` are | |
@@ -1245,7 +1245,7 @@ added: v0.7.1 | |||
| 1245 | 1245 | --> | |
| 1246 | 1246 | ||
| 1247 | 1247 | * `autoPadding` {boolean} **Default:** `true` | |
| 1248 | - * Returns: {Decipheriv} The same Decipher for method chaining. | ||
| 1248 | + * Returns: {Decipheriv} The same `Decipheriv` instance for method chaining. | ||
| 1249 | 1249 | ||
| 1250 | 1250 | When data has been encrypted without standard block padding, calling | |
| 1251 | 1251 | `decipher.setAutoPadding(false)` will disable automatic padding to prevent | |
@@ -5335,7 +5335,7 @@ changes: | |||
| 5335 | 5335 | ||
| 5336 | 5336 | <!--lint enable maximum-line-length remark-lint--> | |
| 5337 | 5337 | ||
| 5338 | - Decrypts `buffer` with `key`.`buffer` was previously encrypted using | ||
| 5338 | + Decrypts `buffer` with `key`. `buffer` was previously encrypted using | ||
| 5339 | 5339 | the corresponding private key, for example using [`crypto.privateEncrypt()`][]. | |
| 5340 | 5340 | ||
| 5341 | 5341 | If `key` is not a [`KeyObject`][], this function behaves as if | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -513,8 +513,8 @@ const decrypted = new TextDecoder().decode(await crypto.subtle.decrypt( | |||
| 513 | 513 | ||
| 514 | 514 | ## Algorithm matrix | |
| 515 | 515 | ||
| 516 | - The tables details the algorithms supported by the Node.js Web Crypto API | ||
| 517 | - implementation and the APIs supported for each: | ||
| 516 | + The following tables detail the algorithms supported by the Node.js Web | ||
| 517 | + Crypto API implementation and the APIs supported for each: | ||
| 518 | 518 | ||
| 519 | 519 | ### Key Management APIs | |
| 520 | 520 | ||
@@ -755,7 +755,7 @@ Valid key usages depend on the key algorithm (identified by | |||
| 755 | 755 | | `'ECDSA'` | | ✔ | | | | | |
| 756 | 756 | | `'Ed25519'` | | ✔ | | | | | |
| 757 | 757 | | `'Ed448'`[^secure-curves] | | ✔ | | | | | |
| 758 | - | `'HDKF'` | | | ✔ | | | | ||
| 758 | + | `'HKDF'` | | | ✔ | | | | ||
| 759 | 759 | | `'HMAC'` | | ✔ | | | | | |
| 760 | 760 | | `'KMAC128'`[^modern-algos] | | ✔ | | | | | |
| 761 | 761 | | `'KMAC256'`[^modern-algos] | | ✔ | | | | | |
@@ -992,7 +992,7 @@ a new {CryptoKey} based on the method and parameters in `derivedKeyAlgorithm`. | |||
| 992 | 992 | ||
| 993 | 993 | Calling this method is equivalent to calling [`subtle.deriveBits()`][] to | |
| 994 | 994 | generate raw keying material, then passing the result into the | |
| 995 | - [`subtle.importKey()`][] method using the `deriveKeyAlgorithm`, `extractable`, and | ||
| 995 | + [`subtle.importKey()`][] method using the `derivedKeyAlgorithm`, `extractable`, and | ||
| 996 | 996 | `keyUsages` parameters as input. | |
| 997 | 997 | ||
| 998 | 998 | The algorithms currently supported include: | |
@@ -1346,7 +1346,7 @@ The algorithms currently supported include: | |||
| 1346 | 1346 | | `'ECDSA'` | ✔ | ✔ | ✔ | ✔ | | ✔ | | | |
| 1347 | 1347 | | `'Ed25519'` | ✔ | ✔ | ✔ | ✔ | | ✔ | | | |
| 1348 | 1348 | | `'Ed448'`[^secure-curves] | ✔ | ✔ | ✔ | ✔ | | ✔ | | | |
| 1349 | - | `'HDKF'` | | | | ✔ | ✔ | | | | ||
| 1349 | + | `'HKDF'` | | | | ✔ | ✔ | | | | ||
| 1350 | 1350 | | `'HMAC'` | | | ✔ | ✔ | ✔ | | | | |
| 1351 | 1351 | | `'KMAC128'`[^modern-algos] | | | ✔ | | ✔ | | | | |
| 1352 | 1352 | | `'KMAC256'`[^modern-algos] | | | ✔ | | ✔ | | | | |
@@ -1470,14 +1470,14 @@ The unwrapped key algorithms supported include: | |||
| 1470 | 1470 | * `'Ed25519'` | |
| 1471 | 1471 | * `'Ed448'`[^secure-curves] | |
| 1472 | 1472 | * `'HMAC'` | |
| 1473 | - * `'KMAC128'`[^secure-curves] | ||
| 1474 | - * `'KMAC256'`[^secure-curves] | ||
| 1473 | + * `'KMAC128'`[^modern-algos] | ||
| 1474 | + * `'KMAC256'`[^modern-algos] | ||
| 1475 | 1475 | * `'ML-DSA-44'`[^modern-algos] | |
| 1476 | 1476 | * `'ML-DSA-65'`[^modern-algos] | |
| 1477 | 1477 | * `'ML-DSA-87'`[^modern-algos] | |
| 1478 | 1478 | * `'ML-KEM-512'`[^modern-algos] | |
| 1479 | 1479 | * `'ML-KEM-768'`[^modern-algos] | |
| 1480 | - * `'ML-KEM-1024'`[^modern-algos]v | ||
| 1480 | + * `'ML-KEM-1024'`[^modern-algos] | ||
| 1481 | 1481 | * `'RSA-OAEP'` | |
| 1482 | 1482 | * `'RSA-PSS'` | |
| 1483 | 1483 | * `'RSASSA-PKCS1-v1_5'` | |
@@ -1523,8 +1523,8 @@ The algorithms currently supported include: | |||
| 1523 | 1523 | * `'Ed25519'` | |
| 1524 | 1524 | * `'Ed448'`[^secure-curves] | |
| 1525 | 1525 | * `'HMAC'` | |
| 1526 | - * `'KMAC128'`[^secure-curves] | ||
| 1527 | - * `'KMAC256'`[^secure-curves] | ||
| 1526 | + * `'KMAC128'`[^modern-algos] | ||
| 1527 | + * `'KMAC256'`[^modern-algos] | ||
| 1528 | 1528 | * `'ML-DSA-44'`[^modern-algos] | |
| 1529 | 1529 | * `'ML-DSA-65'`[^modern-algos] | |
| 1530 | 1530 | * `'ML-DSA-87'`[^modern-algos] | |
@@ -1871,7 +1871,7 @@ added: v24.7.0 | |||
| 1871 | 1871 | added: v24.7.0 | |
| 1872 | 1872 | --> | |
| 1873 | 1873 | ||
| 1874 | - * Type: {string} Must be `Ed448`[^secure-curves], `'ML-DSA-44'`[^modern-algos], | ||
| 1874 | + * Type: {string} Must be `'Ed448'`[^secure-curves], `'ML-DSA-44'`[^modern-algos], | ||
| 1875 | 1875 | `'ML-DSA-65'`[^modern-algos], or `'ML-DSA-87'`[^modern-algos]. | |
| 1876 | 1876 | ||
| 1877 | 1877 | #### `contextParams.context` | |
@@ -1905,7 +1905,7 @@ changes: | |||
| 1905 | 1905 | added: v24.7.0 | |
| 1906 | 1906 | --> | |
| 1907 | 1907 | ||
| 1908 | - * Type: {string} Must be `'cSHAKE128'`[^modern-algos] or `'cSHAKE256'`[^modern-algos] | ||
| 1908 | + * Type: {string} Must be `'cSHAKE128'`[^modern-algos] or `'cSHAKE256'`[^modern-algos]. | ||
| 1909 | 1909 | ||
| 1910 | 1910 | #### `cShakeParams.outputLength` | |
| 1911 | 1911 | ||
@@ -1923,7 +1923,7 @@ added: v24.7.0 | |||
| 1923 | 1923 | ||
| 1924 | 1924 | * Type: {ArrayBuffer|TypedArray|DataView|Buffer|undefined} | |
| 1925 | 1925 | ||
| 1926 | - The `functionName` member represents represents the function name, used by NIST to define | ||
| 1926 | + The `functionName` member represents the function name, used by NIST to define | ||
| 1927 | 1927 | functions based on cSHAKE. | |
| 1928 | 1928 | The Node.js Web Crypto API implementation only supports zero-length functionName | |
| 1929 | 1929 | which is equivalent to not providing functionName at all. | |
@@ -1962,9 +1962,9 @@ added: v15.0.0 | |||
| 1962 | 1962 | ||
| 1963 | 1963 | * Type: {CryptoKey} | |
| 1964 | 1964 | ||
| 1965 | - ECDH key derivation operates by taking as input one parties private key and | ||
| 1966 | - another parties public key -- using both to generate a common shared secret. | ||
| 1967 | - The `ecdhKeyDeriveParams.public` property is set to the other parties public | ||
| 1965 | + ECDH key derivation operates by taking as input one party's private key and | ||
| 1966 | + another party's public key -- using both to generate a common shared secret. | ||
| 1967 | + The `ecdhKeyDeriveParams.public` property is set to the other party's public | ||
| 1968 | 1968 | key. | |
| 1969 | 1969 | ||
| 1970 | 1970 | ### Class: `EcdsaParams` | |
@@ -2358,7 +2358,7 @@ The optional customization string for KangarooTwelve. | |||
| 2358 | 2358 | added: v26.0.0 | |
| 2359 | 2359 | --> | |
| 2360 | 2360 | ||
| 2361 | - * Type: {string} Must be `'KT128'`[^modern-algos] or `'KT256'`[^modern-algos] | ||
| 2361 | + * Type: {string} Must be `'KT128'`[^modern-algos] or `'KT256'`[^modern-algos]. | ||
| 2362 | 2362 | ||
| 2363 | 2363 | #### `kangarooTwelveParams.outputLength` | |
| 2364 | 2364 | ||
@@ -2760,7 +2760,7 @@ The optional domain separation byte (0x01-0x7f). Defaults to `0x1f`. | |||
| 2760 | 2760 | added: v26.0.0 | |
| 2761 | 2761 | --> | |
| 2762 | 2762 | ||
| 2763 | - * Type: {string} Must be `'TurboSHAKE128'`[^modern-algos] or `'TurboSHAKE256'`[^modern-algos] | ||
| 2763 | + * Type: {string} Must be `'TurboSHAKE128'`[^modern-algos] or `'TurboSHAKE256'`[^modern-algos]. | ||
| 2764 | 2764 | ||
| 2765 | 2765 | #### `turboShakeParams.outputLength` | |
| 2766 | 2766 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments