@@ -654,7 +654,7 @@ added: v15.0.0
654654* Type: {boolean}
655655
656656When ` true ` , the {CryptoKey} can be extracted using either
657- ` subtleCrypto .exportKey ()` or ` subtleCrypto .wrapKey ()` .
657+ [ ` subtle .exportKey ()` ][] or [ ` subtle .wrapKey ()` ][] .
658658
659659Read-only.
660660
@@ -846,7 +846,7 @@ changes:
846846* Returns: {Promise} Fulfills with an {ArrayBuffer} upon success.
847847
848848Using the method and parameters specified in ` algorithm` and the keying
849- material provided by ` key` , ` subtle . decrypt () ` attempts to decipher the
849+ material provided by ` key` , this method attempts to decipher the
850850provided ` data` . If successful, the returned promise will be resolved with
851851an {ArrayBuffer} containing the plaintext result.
852852
@@ -888,7 +888,7 @@ changes:
888888<!--lint enable maximum-line-length remark-lint-->
889889
890890Using the method and parameters specified in ` algorithm` and the keying
891- material provided by ` baseKey` , ` subtle . deriveBits () ` attempts to generate
891+ material provided by ` baseKey` , this method attempts to generate
892892` length` bits.
893893
894894When ` length` is not provided or ` null ` the maximum number of bits for a given
@@ -930,12 +930,12 @@ changes:
930930<!--lint enable maximum-line-length remark-lint-->
931931
932932Using the method and parameters specified in ` algorithm` , and the keying
933- material provided by ` baseKey` , ` subtle . deriveKey () ` attempts to generate
933+ material provided by ` baseKey` , this method attempts to generate
934934a new {CryptoKey} based on the method and parameters in ` derivedKeyAlgorithm` .
935935
936- Calling ` subtle . deriveKey () ` is equivalent to calling ` subtle .deriveBits ()` to
936+ Calling this method is equivalent to calling [ ` subtle .deriveBits ()` ][] to
937937generate raw keying material, then passing the result into the
938- ` subtle .importKey ()` method using the ` deriveKeyAlgorithm` , ` extractable` , and
938+ [ ` subtle .importKey ()` ][] method using the ` deriveKeyAlgorithm` , ` extractable` , and
939939` keyUsages` parameters as input.
940940
941941The algorithms currently supported include:
@@ -963,7 +963,7 @@ changes:
963963* ` data` {ArrayBuffer|TypedArray|DataView|Buffer}
964964* Returns: {Promise} Fulfills with an {ArrayBuffer} upon success.
965965
966- Using the method identified by ` algorithm` , ` subtle . digest () ` attempts to
966+ Using the method identified by ` algorithm` , this method attempts to
967967generate a digest of ` data` . If successful, the returned promise is resolved
968968with an {ArrayBuffer} containing the computed digest.
969969
@@ -1040,7 +1040,7 @@ changes:
10401040* Returns: {Promise} Fulfills with an {ArrayBuffer} upon success.
10411041
10421042Using the method and parameters specified by ` algorithm` and the keying
1043- material provided by ` key` , ` subtle . encrypt () ` attempts to encipher ` data` .
1043+ material provided by ` key` , this method attempts to encipher ` data` .
10441044If successful, the returned promise is resolved with an {ArrayBuffer}
10451045containing the encrypted result.
10461046
@@ -1230,7 +1230,7 @@ changes:
12301230* ` keyUsages` {string\[ ]} See [Key usages][].
12311231* Returns: {Promise} Fulfills with a {CryptoKey} upon success.
12321232
1233- The ` subtle .importKey ()` method attempts to interpret the provided ` keyData`
1233+ The [ ` subtle .importKey ()` ][] method attempts to interpret the provided ` keyData`
12341234as the given ` format` to create a {CryptoKey} instance using the provided
12351235` algorithm` , ` extractable` , and ` keyUsages` arguments. If the import is
12361236successful, the returned promise will be resolved with the created {CryptoKey}.
@@ -1291,7 +1291,7 @@ changes:
12911291<!--lint enable maximum-line-length remark-lint-->
12921292
12931293Using the method and parameters given by ` algorithm` and the keying material
1294- provided by ` key` , ` subtle . sign () ` attempts to generate a cryptographic
1294+ provided by ` key` , this method attempts to generate a cryptographic
12951295signature of ` data` . If successful, the returned promise is resolved with
12961296an {ArrayBuffer} containing the generated signature.
12971297
@@ -1337,11 +1337,11 @@ changes:
13371337* Returns: {Promise} Fulfills with a {CryptoKey} upon success.
13381338
13391339In cryptography, "wrapping a key" refers to exporting and then encrypting the
1340- keying material. The ` subtle . unwrapKey () ` method attempts to decrypt a wrapped
1340+ keying material. This method attempts to decrypt a wrapped
13411341key and create a {CryptoKey} instance. It is equivalent to calling
1342- ` subtle .decrypt ()` first on the encrypted key data (using the ` wrappedKey` ,
1342+ [ ` subtle .decrypt ()` ][] first on the encrypted key data (using the ` wrappedKey` ,
13431343` unwrapAlgo` , and ` unwrappingKey` arguments as input) then passing the results
1344- in to the ` subtle .importKey ()` method using the ` unwrappedKeyAlgo` ,
1344+ to the [ ` subtle .importKey ()` ][] method using the ` unwrappedKeyAlgo` ,
13451345` extractable` , and ` keyUsages` arguments as inputs. If successful, the returned
13461346promise is resolved with a {CryptoKey} object.
13471347
@@ -1406,7 +1406,7 @@ changes:
14061406<!--lint enable maximum-line-length remark-lint-->
14071407
14081408Using the method and parameters given in ` algorithm` and the keying material
1409- provided by ` key` , ` subtle . verify () ` attempts to verify that ` signature` is
1409+ provided by ` key` , this method attempts to verify that ` signature` is
14101410a valid cryptographic signature of ` data` . The returned promise is resolved
14111411with either ` true ` or ` false ` .
14121412
@@ -1447,12 +1447,12 @@ changes:
14471447<!--lint enable maximum-line-length remark-lint-->
14481448
14491449In cryptography, "wrapping a key" refers to exporting and then encrypting the
1450- keying material. The ` subtle . wrapKey () ` method exports the keying material into
1450+ keying material. This method exports the keying material into
14511451the format identified by ` format` , then encrypts it using the method and
14521452parameters specified by ` wrapAlgo` and the keying material provided by
1453- ` wrappingKey` . It is the equivalent to calling ` subtle .exportKey ()` using
1453+ ` wrappingKey` . It is the equivalent to calling [ ` subtle .exportKey ()` ][] using
14541454` format` and ` key` as the arguments, then passing the result to the
1455- ` subtle .encrypt ()` method using ` wrappingKey` and ` wrapAlgo` as inputs. If
1455+ [ ` subtle .encrypt ()` ][] method using ` wrappingKey` and ` wrapAlgo` as inputs. If
14561456successful, the returned promise will be resolved with an {ArrayBuffer}
14571457containing the encrypted key data.
14581458
0 commit comments