subtle.decapsulateBits(decapsulationAlgorithm, decapsulationKey, ciphertext)
稳定性: 1.1 - 处于活跃开发中
decapsulationAlgorithm<string>decapsulationKey<CryptoKey>ciphertext<ArrayBuffer> | <TypedArray> | <DataView> | <Buffer>- 返回:<Promise> 在成功时以 <ArrayBuffer> 完成。
消息接收者使用他们的非对称私钥来解密“封装密钥”(密文),从而恢复一个临时的对称密钥(表示为 <ArrayBuffer>),然后使用该密钥来解密消息。
【A message recipient uses their asymmetric private key to decrypt an "encapsulated key" (ciphertext), thereby recovering a temporary symmetric key (represented as <ArrayBuffer>) which is then used to decrypt a message.】
目前支持的算法包括:
【The algorithms currently supported include:】
'ML-KEM-512'[^现代算法]'ML-KEM-768'[^现代算法]'ML-KEM-1024'[^现代算法]