Built with auditless/cairo-template
Uniform random variables
and
The Box-Muller transform of
The Laplace pdf is defined as:
We generate 1000 cryptographically secure random i16 values in a rust oracle which are then piped into Cairo source code and executed in bash. This is the first known example of additive noise mechanisms for the Cairo programming language using ZK-STARK technology.
Execute the run_and_fmt script to generate a new distribution of numbers to pass into the box_muller_transform
$ ./run_and_fmt.sh
The values are stored in the numbers.csv file at the head of this directory.