mirror of
https://github.com/zama-ai/concrete.git
synced 2026-01-09 12:57:55 -05:00
docs(frontend): module keygen
This commit is contained in:
committed by
Alexandre Péré
parent
aadc3a6929
commit
c5051665fc
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user