discrete-gaussian

Crates.iodiscrete-gaussian
lib.rsdiscrete-gaussian
version0.0.6
sourcesrc
created_at2024-10-10 00:12:33.564789
updated_at2024-10-29 01:42:04.318506
descriptionGaussian sampling over discrete fields/rings/sets
homepagehttps://github.com/chancehudson/discrete-gaussian
repositoryhttps://github.com/chancehudson/discete-gaussian
max_upload_size
id1403246
size25,522
Chance (chancehudson)

documentation

README

discrete-gaussian Build Docs Version

Discrete gaussian samples based on FACCT and DDLL13. Implemented with ~40 bits of accuracy (relative error <= 2^-40). Based on the analysis in WALT19 this implies an upper bound of 2^80 security in constructions.

Example

cargo run --example vartime --release

Sampling with target theta: 20
Approximated k = 23
Approximated theta: 19.534401406624458
1000 samples in: 16.90ms

Feature tracking

Commit count: 0

cargo fmt