simple-ring : Simple implementation of mathematical primitives for LWE-based crypto in Rust
simple-ring provides mathematical primitives, such as NTT or Polynomials, but also coefficient sampling for LWE-based schemes. For more informations and explanations, please see /docs/simple-ring.pdf.
Warning
This code isn’t audited, isn’t intended for production use, and is vulnerable to timing-based attacks.
Quick start
To use it, simply do :
Then, in your code, you can use it as you want :
use *;
Tests & modifications
To run the tests, or modify the code, you can git clone the repo, and then run the tests or do any modification you want :
License
This code is licensed under the same license as simple-crypto-lab, so under MIT or APACHE 2.0 License, your choice.