mdn/content

Precise max length for encoding algorithm

开放

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

 (0 条评论) (0 个反应) (0 位负责人)Markdown (23,229 个派生)batch import
Content:WebAPIarea: Web Cryptohelp wanted

仓库指标

星标
 (10,950 个星标)
PR 合并指标
 (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

贡献者指南