https://github.com/duguorong009/rlwe-encryption-rs
RLWE encryption scheme using Knuth-Yao sampling
https://github.com/duguorong009/rlwe-encryption-rs
cryptography math post-quantum-cryptography rust
Last synced: about 2 months ago
JSON representation
RLWE encryption scheme using Knuth-Yao sampling
- Host: GitHub
- URL: https://github.com/duguorong009/rlwe-encryption-rs
- Owner: duguorong009
- Created: 2024-10-20T16:26:28.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-12-06T09:37:27.000Z (5 months ago)
- Last Synced: 2025-01-12T13:25:46.204Z (3 months ago)
- Topics: cryptography, math, post-quantum-cryptography, rust
- Language: Rust
- Homepage:
- Size: 116 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RLWE Encryption Scheme
This repo is for implementing this encryption scheme(https://eprint.iacr.org/2014/725.pdf) with Rustlang.Inspired by [this work](https://github.com/jnortiz/RLWE).
**IMPORTANT**: For testing, we should use the `cargo r --release` command.
The reason is that there is overflow of `i32` in `knuth-yao` sampling code.
We need to disable overflow check for successful run of program.
Also, it is to match the behavior of original cpp code.