-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Implement key encapsulation and decapsulation with ML-KEM in WebCrypto #41473
Copy link
Copy link
Closed
Labels
A-content/scriptRelated to the script threadRelated to the script thread
Description
Implement key encapsulation and decapsulation with ML-KEM [FIPS-203], in WebCrypto API. It will be our first post-quantum cryptographic algorithm (Wiki) in the WebCrypto API implementation.
Specification: https://wicg.github.io/webcrypto-modern-algos/#ml-kem
There are five operations of ML-KEM to implement:
- encapsulate script: Implement WebCrypto encapsulation and decapsulation with ML-KEM #41617
- decapsulate script: Implement WebCrypto encapsulation and decapsulation with ML-KEM #41617
- generateKey script: Implement generate key operation of ML-KEM #41615
- importKey script: Implement import key operation of ML-KEM #41585
- exportKey script: Implement export key operation of ML-KEM #41604
To support the new operations (encapsulate and decapsulate), four methods will be added to the SubtleCrypto interface. (All four methods were implemented in #41617)
-
encapsulateKeymethod -
encapsulateBitsmethod -
decapsulateKeymethod -
decapsulateBitsmethod
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-content/scriptRelated to the script threadRelated to the script thread