From 6aefc582e8286a84abba626ef3795aa90426b320 Mon Sep 17 00:00:00 2001 From: Giacomo Pope Date: Wed, 24 Jul 2024 10:13:53 +0100 Subject: [PATCH] fix readme names --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 716d0a8..086537d 100644 --- a/README.md +++ b/README.md @@ -90,14 +90,14 @@ use: #### Example ```python ->>> from kyber_py.ml_kem import ML_KEM128 ->>> ek, dk = ML_KEM128.keygen() ->>> key, ct = ML_KEM128.encaps(ek) ->>> _key = ML_KEM128.decaps(ct, dk) +>>> from kyber_py.ml_kem import ML_KEM_512 +>>> ek, dk = ML_KEM_512.keygen() +>>> key, ct = ML_KEM_512.encaps(ek) +>>> _key = ML_KEM_512.decaps(ct, dk) >>> assert key == _key ``` -The above example would also work with `ML_KEM192` and `ML_KEM256`. +The above example would also work with `ML_KEM_768` and `ML_KEM_1024`. #### Benchmarks