mdn/content

Precise max length for encoding algorithm

Open

#18,045 创建于 2022年7月6日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Markdown (22,427 fork)batch import
Content:WebAPIarea: Web Cryptohelp wanted

仓库指标

Star
 (8,900 star)
PR 合并指标
 (平均合并 7天 3小时) (30 天内合并 147 个 PR)

描述

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

贡献者指南