Skip to content

Commit

Permalink
fix readme names
Browse files Browse the repository at this point in the history
  • Loading branch information
GiacomoPope committed Jul 24, 2024
1 parent 59b470d commit 6aefc58
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 6aefc58

Please sign in to comment.