| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 341947e commit aa1e0bc
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 | |
@@ -1214,7 +1214,7 @@ changes: | |||
| 1214 | 1214 | ||
| 1215 | 1215 | * `buffer` {string|Buffer|ArrayBuffer|TypedArray|DataView} | |
| 1216 | 1216 | * `encoding` {string} String encoding to use when `buffer` is a string. | |
| 1217 | - * Returns: {Decipheriv} The same Decipher for method chaining. | ||
| 1217 | + * Returns: {Decipheriv} The same `Decipheriv` instance for method chaining. | ||
| 1218 | 1218 | ||
| 1219 | 1219 | When using an authenticated encryption mode (`GCM`, `CCM`, `OCB`, and | |
| 1220 | 1220 | `chacha20-poly1305` are | |
@@ -1249,7 +1249,7 @@ added: v0.7.1 | |||
| 1249 | 1249 | --> | |
| 1250 | 1250 | ||
| 1251 | 1251 | * `autoPadding` {boolean} **Default:** `true` | |
| 1252 | - * Returns: {Decipheriv} The same Decipher for method chaining. | ||
| 1252 | + * Returns: {Decipheriv} The same `Decipheriv` instance for method chaining. | ||
| 1253 | 1253 | ||
| 1254 | 1254 | When data has been encrypted without standard block padding, calling | |
| 1255 | 1255 | `decipher.setAutoPadding(false)` will disable automatic padding to prevent | |
@@ -5305,7 +5305,7 @@ changes: | |||
| 5305 | 5305 | ||
| 5306 | 5306 | <!--lint enable maximum-line-length remark-lint--> | |
| 5307 | 5307 | ||
| 5308 | - Decrypts `buffer` with `key`.`buffer` was previously encrypted using | ||
| 5308 | + Decrypts `buffer` with `key`. `buffer` was previously encrypted using | ||
| 5309 | 5309 | the corresponding private key, for example using [`crypto.privateEncrypt()`][]. | |
| 5310 | 5310 | ||
| 5311 | 5311 | If `key` is not a [`KeyObject`][], this function behaves as if | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -504,8 +504,8 @@ const decrypted = new TextDecoder().decode(await crypto.subtle.decrypt( | |||
| 504 | 504 | ||
| 505 | 505 | ## Algorithm matrix | |
| 506 | 506 | ||
| 507 | - The tables details the algorithms supported by the Node.js Web Crypto API | ||
| 508 | - implementation and the APIs supported for each: | ||
| 507 | + The following tables detail the algorithms supported by the Node.js Web | ||
| 508 | + Crypto API implementation and the APIs supported for each: | ||
| 509 | 509 | ||
| 510 | 510 | ### Key Management APIs | |
| 511 | 511 | ||
@@ -742,7 +742,7 @@ Valid key usages depend on the key algorithm (identified by | |||
| 742 | 742 | | `'ECDSA'` | | ✔ | | | | | |
| 743 | 743 | | `'Ed25519'` | | ✔ | | | | | |
| 744 | 744 | | `'Ed448'`[^secure-curves] | | ✔ | | | | | |
| 745 | - | `'HDKF'` | | | ✔ | | | | ||
| 745 | + | `'HKDF'` | | | ✔ | | | | ||
| 746 | 746 | | `'HMAC'` | | ✔ | | | | | |
| 747 | 747 | | `'KMAC128'`[^modern-algos] | | ✔ | | | | | |
| 748 | 748 | | `'KMAC256'`[^modern-algos] | | ✔ | | | | | |
@@ -979,7 +979,7 @@ a new {CryptoKey} based on the method and parameters in `derivedKeyAlgorithm`. | |||
| 979 | 979 | ||
| 980 | 980 | Calling this method is equivalent to calling [`subtle.deriveBits()`][] to | |
| 981 | 981 | generate raw keying material, then passing the result into the | |
| 982 | - [`subtle.importKey()`][] method using the `deriveKeyAlgorithm`, `extractable`, and | ||
| 982 | + [`subtle.importKey()`][] method using the `derivedKeyAlgorithm`, `extractable`, and | ||
| 983 | 983 | `keyUsages` parameters as input. | |
| 984 | 984 | ||
| 985 | 985 | The algorithms currently supported include: | |
@@ -1325,7 +1325,7 @@ The algorithms currently supported include: | |||
| 1325 | 1325 | | `'ECDSA'` | ✔ | ✔ | ✔ | ✔ | | ✔ | | | |
| 1326 | 1326 | | `'Ed25519'` | ✔ | ✔ | ✔ | ✔ | | ✔ | | | |
| 1327 | 1327 | | `'Ed448'`[^secure-curves] | ✔ | ✔ | ✔ | ✔ | | ✔ | | | |
| 1328 | - | `'HDKF'` | | | | ✔ | ✔ | | | | ||
| 1328 | + | `'HKDF'` | | | | ✔ | ✔ | | | | ||
| 1329 | 1329 | | `'HMAC'` | | | ✔ | ✔ | ✔ | | | | |
| 1330 | 1330 | | `'KMAC128'`[^modern-algos] | | | ✔ | | ✔ | | | | |
| 1331 | 1331 | | `'KMAC256'`[^modern-algos] | | | ✔ | | ✔ | | | | |
@@ -1449,14 +1449,14 @@ The unwrapped key algorithms supported include: | |||
| 1449 | 1449 | * `'Ed25519'` | |
| 1450 | 1450 | * `'Ed448'`[^secure-curves] | |
| 1451 | 1451 | * `'HMAC'` | |
| 1452 | - * `'KMAC128'`[^secure-curves] | ||
| 1453 | - * `'KMAC256'`[^secure-curves] | ||
| 1452 | + * `'KMAC128'`[^modern-algos] | ||
| 1453 | + * `'KMAC256'`[^modern-algos] | ||
| 1454 | 1454 | * `'ML-DSA-44'`[^modern-algos] | |
| 1455 | 1455 | * `'ML-DSA-65'`[^modern-algos] | |
| 1456 | 1456 | * `'ML-DSA-87'`[^modern-algos] | |
| 1457 | 1457 | * `'ML-KEM-512'`[^modern-algos] | |
| 1458 | 1458 | * `'ML-KEM-768'`[^modern-algos] | |
| 1459 | - * `'ML-KEM-1024'`[^modern-algos]v | ||
| 1459 | + * `'ML-KEM-1024'`[^modern-algos] | ||
| 1460 | 1460 | * `'RSA-OAEP'` | |
| 1461 | 1461 | * `'RSA-PSS'` | |
| 1462 | 1462 | * `'RSASSA-PKCS1-v1_5'` | |
@@ -1502,8 +1502,8 @@ The algorithms currently supported include: | |||
| 1502 | 1502 | * `'Ed25519'` | |
| 1503 | 1503 | * `'Ed448'`[^secure-curves] | |
| 1504 | 1504 | * `'HMAC'` | |
| 1505 | - * `'KMAC128'`[^secure-curves] | ||
| 1506 | - * `'KMAC256'`[^secure-curves] | ||
| 1505 | + * `'KMAC128'`[^modern-algos] | ||
| 1506 | + * `'KMAC256'`[^modern-algos] | ||
| 1507 | 1507 | * `'ML-DSA-44'`[^modern-algos] | |
| 1508 | 1508 | * `'ML-DSA-65'`[^modern-algos] | |
| 1509 | 1509 | * `'ML-DSA-87'`[^modern-algos] | |
@@ -1850,7 +1850,7 @@ added: v24.7.0 | |||
| 1850 | 1850 | added: v24.7.0 | |
| 1851 | 1851 | --> | |
| 1852 | 1852 | ||
| 1853 | - * Type: {string} Must be `Ed448`[^secure-curves], `'ML-DSA-44'`[^modern-algos], | ||
| 1853 | + * Type: {string} Must be `'Ed448'`[^secure-curves], `'ML-DSA-44'`[^modern-algos], | ||
| 1854 | 1854 | `'ML-DSA-65'`[^modern-algos], or `'ML-DSA-87'`[^modern-algos]. | |
| 1855 | 1855 | ||
| 1856 | 1856 | #### `contextParams.context` | |
@@ -1884,7 +1884,7 @@ changes: | |||
| 1884 | 1884 | added: v24.7.0 | |
| 1885 | 1885 | --> | |
| 1886 | 1886 | ||
| 1887 | - * Type: {string} Must be `'cSHAKE128'`[^modern-algos] or `'cSHAKE256'`[^modern-algos] | ||
| 1887 | + * Type: {string} Must be `'cSHAKE128'`[^modern-algos] or `'cSHAKE256'`[^modern-algos]. | ||
| 1888 | 1888 | ||
| 1889 | 1889 | #### `cShakeParams.outputLength` | |
| 1890 | 1890 | ||
@@ -1902,7 +1902,7 @@ added: v24.7.0 | |||
| 1902 | 1902 | ||
| 1903 | 1903 | * Type: {ArrayBuffer|TypedArray|DataView|Buffer|undefined} | |
| 1904 | 1904 | ||
| 1905 | - The `functionName` member represents represents the function name, used by NIST to define | ||
| 1905 | + The `functionName` member represents the function name, used by NIST to define | ||
| 1906 | 1906 | functions based on cSHAKE. | |
| 1907 | 1907 | The Node.js Web Crypto API implementation only supports zero-length functionName | |
| 1908 | 1908 | which is equivalent to not providing functionName at all. | |
@@ -1941,9 +1941,9 @@ added: v15.0.0 | |||
| 1941 | 1941 | ||
| 1942 | 1942 | * Type: {CryptoKey} | |
| 1943 | 1943 | ||
| 1944 | - ECDH key derivation operates by taking as input one parties private key and | ||
| 1945 | - another parties public key -- using both to generate a common shared secret. | ||
| 1946 | - The `ecdhKeyDeriveParams.public` property is set to the other parties public | ||
| 1944 | + ECDH key derivation operates by taking as input one party's private key and | ||
| 1945 | + another party's public key -- using both to generate a common shared secret. | ||
| 1946 | + The `ecdhKeyDeriveParams.public` property is set to the other party's public | ||
| 1947 | 1947 | key. | |
| 1948 | 1948 | ||
| 1949 | 1949 | ### Class: `EcdsaParams` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments