docs(frontend): module keygen

This commit is contained in:
Alexandre Péré
2024-07-15 15:37:30 +02:00
committed by Alexandre Péré
parent aadc3a6929
commit c5051665fc

View File

@@ -43,6 +43,12 @@ x_dec = CounterFhe.inc.decrypt(x_enc)
assert x_dec == 15
```
The keyset can be generated beforehand by calling `keygen()` method on the compiled module:
```python
CounterFhe.keygen()
```
## Multi inputs, multi outputs
Composition is not limited to single input / single output. Here is an example that computes the 10 first elements of the Fibonacci sequence in FHE: