Skip to content

Commit

Permalink
Merge pull request #68 from GiacomoPope/fix_readme_names
Browse files Browse the repository at this point in the history
fix readme names
  • Loading branch information
GiacomoPope authored Jul 24, 2024
2 parents 59b470d + 6aefc58 commit 99efb58
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 99efb58

Please sign in to comment.