Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'doc/api/crypto.md')
-rw-r--r--doc/api/crypto.md54
1 files changed, 27 insertions, 27 deletions
diff --git a/doc/api/crypto.md b/doc/api/crypto.md
index 2e1744910b9..95a5c68baf4 100644
--- a/doc/api/crypto.md
+++ b/doc/api/crypto.md
@@ -57,7 +57,7 @@ data. The most common usage is handling output generated by the HTML5
<!-- YAML
added: v9.0.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The spkac argument can be an ArrayBuffer. Limited the size of
the spkac argument to a maximum of 2**31 - 1 bytes.
@@ -80,7 +80,7 @@ console.log(challenge.toString('utf8'));
<!-- YAML
added: v9.0.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The spkac argument can be an ArrayBuffer. Limited the size of
the spkac argument to a maximum of 2**31 - 1 bytes.
@@ -103,7 +103,7 @@ console.log(publicKey);
<!-- YAML
added: v9.0.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The spkac argument can be an ArrayBuffer. Added encoding.
Limited the size of the spkac argument to a maximum of
@@ -512,7 +512,7 @@ than once will result in an error being thrown.
<!-- YAML
added: v1.0.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The buffer argument can be a string or ArrayBuffer and is
limited to no more than 2 ** 31 - 1 bytes.
@@ -541,7 +541,7 @@ The `decipher.setAAD()` method must be called before [`decipher.update()`][].
<!-- YAML
added: v1.0.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The buffer argument can be a string or ArrayBuffer and is
limited to no more than 2 ** 31 - 1 bytes.
@@ -1455,7 +1455,7 @@ console.log(verify.verify(publicKey, signature));
<!-- YAML
added: v0.1.92
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The privateKey can also be an ArrayBuffer and CryptoKey.
- version: v12.0.0
@@ -1573,7 +1573,7 @@ This can be called many times with new data as it is streamed.
<!-- YAML
added: v0.1.92
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The object can also be an ArrayBuffer and CryptoKey.
- version: v12.0.0
@@ -1684,7 +1684,7 @@ This property is deprecated. Please use `crypto.setFips()` and
added: v0.1.94
deprecated: v10.0.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The password argument can be an ArrayBuffer and is limited to
a maximum of 2 ** 31 - 1 bytes.
@@ -1743,7 +1743,7 @@ Adversaries][] for details.
<!-- YAML
added: v0.1.94
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The password and iv arguments can be an ArrayBuffer and are
each limited to a maximum of 2 ** 31 - 1 bytes.
@@ -2020,7 +2020,7 @@ input.on('readable', () => {
<!-- YAML
added: v0.1.94
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The key can also be an ArrayBuffer or CryptoKey. The
encoding option was added. The key cannot contain
@@ -2074,7 +2074,7 @@ input.on('readable', () => {
<!-- YAML
added: v11.6.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The key can also be an ArrayBuffer. The encoding option was
added. The key cannot contain more than 2 ** 32 - 1 bytes.
@@ -2103,7 +2103,7 @@ of the passphrase is limited to 1024 bytes.
<!-- YAML
added: v11.6.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The key can also be an ArrayBuffer. The encoding option was
added. The key cannot contain more than 2 ** 32 - 1 bytes.
@@ -2145,7 +2145,7 @@ and it will be impossible to extract the private key from the returned object.
<!-- YAML
added: v11.6.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The key can also be an ArrayBuffer. The encoding argument was
added. The key cannot contain more than 2 ** 32 - 1 bytes.
@@ -2215,7 +2215,7 @@ Both keys must have the same `asymmetricKeyType`, which must be one of `'dh'`
### `crypto.generateKey(type, options, callback)`
<!-- YAML
-added: REPLACEME
+added: v15.0.0
-->
* `type`: {string} The intended use of the generated secret key. Currently
@@ -2245,7 +2245,7 @@ generateKey('hmac', { length: 64 }, (err, key) => {
### `crypto.generateKeySync(type, options)`
<!-- YAML
-added: REPLACEME
+added: v15.0.0
-->
* `type`: {string} The intended use of the generated secret key. Currently
@@ -2426,7 +2426,7 @@ console.log(ciphers); // ['aes-128-cbc', 'aes-128-ccm', ...]
### `crypto.getCipherInfo(nameOrNid[, options])`
<!-- YAML
-added: REPLACEME
+added: v15.0.0
-->
* `nameOrNid`: {string|number} The name or nid of the cipher to query.
@@ -2525,7 +2525,7 @@ console.log(hashes); // ['DSA', 'DSA-SHA', 'DSA-SHA1', ...]
### `crypto.hkdf(digest, key, salt, info, keylen, callback)`
<!-- YAML
-added: REPLACEME
+added: v15.0.0
-->
* `digest` {string} The digest algorithm to use.
@@ -2562,7 +2562,7 @@ crypto.hkdf('sha512', 'key', 'salt', 'info', 64, (err, derivedKey) => {
### `crypto.hkdfSync(digest, key, salt, info, keylen)`
<!-- YAML
-added: REPLACEME
+added: v15.0.0
-->
* `digest` {string} The digest algorithm to use.
@@ -2597,7 +2597,7 @@ console.log(Buffer.from(derivedKey).toString('hex')); // '24156e2...5391653'
<!-- YAML
added: v0.5.5
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The password and salt arguments can also be ArrayBuffer
instances.
@@ -2743,7 +2743,7 @@ An array of supported digest functions can be retrieved using
<!-- YAML
added: v0.11.14
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: Added string, ArrayBuffer, and CryptoKey as allowable key
types. The oaepLabel can be an ArrayBuffer. The buffer can
@@ -2786,7 +2786,7 @@ object, the `padding` property can be passed. Otherwise, this function uses
<!-- YAML
added: v1.1.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: Added string, ArrayBuffer, and CryptoKey as allowable key
types. The passphrase can be an ArrayBuffer. The buffer can
@@ -2824,7 +2824,7 @@ object, the `padding` property can be passed. Otherwise, this function uses
<!-- YAML
added: v1.1.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: Added string, ArrayBuffer, and CryptoKey as allowable key
types. The passphrase can be an ArrayBuffer. The buffer can
@@ -2863,7 +2863,7 @@ be passed instead of a public key.
<!-- YAML
added: v0.11.14
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: Added string, ArrayBuffer, and CryptoKey as allowable key
types. The oaepLabel and passphrase can be ArrayBuffers. The
@@ -3153,7 +3153,7 @@ console.log(`The dice rolled: ${n}`);
<!-- YAML
added: v10.5.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The password and salt arguments can also be ArrayBuffer
instances.
@@ -3350,7 +3350,7 @@ additional properties can be passed:
<!-- YAML
added: v6.6.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The a and b arguments can also be ArrayBuffer.
-->
@@ -3376,7 +3376,7 @@ not introduce timing vulnerabilities.
<!-- YAML
added: v12.0.0
changes:
- - version: REPLACEME
+ - version: v15.0.0
pr-url: https://github.com/nodejs/node/pull/35093
description: The data, key, and signature arguments can also be ArrayBuffer.
-->
@@ -3420,7 +3420,7 @@ key may be passed for `key`.
### `crypto.webcrypto`
<!-- YAML
-added: REPLACEME
+added: v15.0.0
-->
Type: {Crypto} An implementation of the Web Crypto API standard.