mdn/content

Precise max length for encoding algorithm

Open

#18.045 geöffnet am 6. Juli 2022

Auf GitHub ansehen
 (0 Kommentare) (0 Reaktionen) (0 zugewiesene Personen)Markdown (22.427 Forks)batch import
Content:WebAPIarea: Web Cryptohelp wanted

Repository-Metriken

Stars
 (8.900 Stars)
PR-Merge-Metriken
 (Durchschn. Merge 7T 3h) (147 gemergte PRs in 30 T)

Beschreibung

MDN URL

https://developer.mozilla.org/en-US/docs/Web/API/SubtleCrypto/encrypt

What specific section or headline is this issue about?

Supported Algorithm

What information was incorrect, unhelpful, or incomplete?

This page is missing information about the algorithm we can use. For example, for the RSA-OAEP there is a limit in the number of bytes you can encrypt. I did not check for the others algorithm but theses limitation are missing in the doc. Just a warning that says "The algorithm can have some limitation such as the size of the data to encode. Check the RFC for more information" would be really helpfull since the error message are basically inexistent at this point in time.

What did you expect to see?

An array with what an algorithm can encode and the limitation

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Contributor Guide