subtle.decapsulateKey(decapsulationAlgorithm, decapsulationKey, ciphertext, sharedKeyAlgorithm, extractable, usages)


稳定性: 1.1 - 积极开发

¥Stability: 1.1 - Active development

消息接收者使用其非对称私钥解密 "封装密钥"(密文),从而恢复临时对称密钥(表示为 <CryptoKey>),然后使用该密钥解密消息。

¥A message recipient uses their asymmetric private key to decrypt an "encapsulated key" (ciphertext), thereby recovering a temporary symmetric key (represented as <CryptoKey>) which is then used to decrypt a message.

目前支持的算法包括:

¥The algorithms currently supported include:

  • 'ML-KEM-512'4

  • 'ML-KEM-768'4

  • 'ML-KEM-1024'4