@@ -764,9 +764,9 @@ added: v15.0.0 |
764 | 764 | * `keyUsages` {string\[]} See [Key usages][]. |
765 | 765 | * Returns: {Promise} Fulfills with a {CryptoKey|CryptoKeyPair} upon success. |
766 | 766 |
|
767 | | -Using the method and parameters provided in `algorithm`, `subtle.generateKey()` |
768 | | -attempts to generate new keying material. Depending the method used, the method |
769 | | -may generate either a single {CryptoKey} or a {CryptoKeyPair}. |
| 767 | +Using the parameters provided in `algorithm`, this method |
| 768 | +attempts to generate new keying material. Depending on the algorithm used |
| 769 | +either a single {CryptoKey} or a {CryptoKeyPair} is generated. |
770 | 770 |
|
771 | 771 | The {CryptoKeyPair} (public and private key) generating algorithms supported |
772 | 772 | include: |
@@ -818,10 +818,11 @@ changes: |
818 | 818 | * `keyUsages` {string\[]} See [Key usages][]. |
819 | 819 | * Returns: {Promise} Fulfills with a {CryptoKey} upon success. |
820 | 820 |
|
821 | | -The `subtle.importKey()` method attempts to interpret the provided `keyData` |
| 821 | +This method attempts to interpret the provided `keyData` |
822 | 822 | as the given `format` to create a {CryptoKey} instance using the provided |
823 | 823 | `algorithm`, `extractable`, and `keyUsages` arguments. If the import is |
824 | | -successful, the returned promise will be resolved with the created {CryptoKey}. |
| 824 | +successful, the returned promise will be resolved with a {CryptoKey} |
| 825 | +representation of the key material. |
825 | 826 |
|
826 | 827 | If importing a `'PBKDF2'` key, `extractable` must be `false`. |
827 | 828 |
|
|