From 00468a731123d666c8011497aa4db757496437e6 Mon Sep 17 00:00:00 2001 From: Alicja Kario Date: Fri, 10 Jan 2025 13:39:58 +0100 Subject: [PATCH] mark the `ML_KEM.key_derive()` method as public and stable API --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index aabbebe..a2efc24 100644 --- a/README.md +++ b/README.md @@ -82,10 +82,12 @@ To install dependencies, run `pip -r install requirements`. ### ML-KEM -There are three functions exposed on the `ML_KEM` class which are intended for +There are four functions exposed on the `ML_KEM` class which are intended for use: - `ML_KEM.keygen()`: generate a keypair `(ek, dk)` +- `ML_KEM.key_derive(seed)`: generate a keypair `(ek, dk)` from the provided + seed - `ML_KEM.encaps(ek)`: generate a key and ciphertext pair `(key, ct)` - `ML_KEM.decaps(dk, ct)`: generate the shared key `key`