Skip to content

Commit

Permalink
ecdsa: README update
Browse files Browse the repository at this point in the history
  • Loading branch information
olegbespalov committed Apr 17, 2024
1 parent 7733fb3 commit 6ca2bdd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,19 +29,19 @@ The current state of the project is that it is an experimental module of the Web

| API | HMAC | ECDSA | RSASSA-PKCS1-v1_5 | RSA-PSS |
| :----------------------- | :--- | :---- | :---------------- | :------ |
| `crypto.subtle.sign()` || |||
| `crypto.subtle.verify()` || |||
| `crypto.subtle.sign()` || |||
| `crypto.subtle.verify()` || |||

##### Key generation, import and export

| API | AES-CBC | AES-GCM | AES-CTR | AES-KW | HMAC | ECDSA | ECDH | RSASSA-PKCS1-v1_5 | RSA-PSS | RSA-OAEP |
| :---------------------------- | :------ | :------ | :------ | :----- | :--- | :---- | :--- | :---------------- | :------ | :------- |
| `crypto.subtle.generateKey()` |||||| |||||
| `crypto.subtle.importKey()` |||||| |||||
| `crypto.subtle.exportKey()` |||||| |||||
| `crypto.subtle.generateKey()` |||||| |||||
| `crypto.subtle.importKey()` |||||| |||||
| `crypto.subtle.exportKey()` |||||| |||||

> [!WARNING]
> Currently, only the `raw` and `jwk` (JSON Web Key) formats are supported for import/export operations for the `AES-*` and `HMAC` algorithms. `ECDH` has support for `pkcs8` and `raw` formats.
> Currently, only the `raw` and `jwk` (JSON Web Key) formats are supported for import/export operations for the `AES-*` and `HMAC` algorithms. `ECDH` and `ECDSA` have support for `pkcs8`, `spki` and `raw` formats.
##### Key derivation

Expand Down

0 comments on commit 6ca2bdd

Please sign in to comment.