Lwe Encryption with tfhe-rs

Hello,

I would like to test for an implementation the code bot line 179.
https://github.com/zama-ai/tfhe-rs/blob/main/tfhe/src/core_crypto/algorithms/lwe_encryption.rs
But impossible to make it work. Is it possible to get help with this library?
Thanks

Hello @Alexis

which version of the crate are you using ?

If needed with version 0.5.3 you should be able to run the example from:

You can check the library docs here to configure rust for core crypto :

If you have an error can you share the code like a GitHub repo, the command you are running and the hardware configuration you have ?

Cheers

Great, the code you sent me works in 0.5.3!

The problem on the part of the code I specified was “Gaussian::from_dispersion_parameter” and in the github doc it says to use tfhe version 0.6.0.
It seems to me that it hasn’t been released yet?

Thanks

Yes the repo doc is for the upcoming 0.6 release.

Glad it works now !

1 Like