Skip to content

About

Secure implementations permutation sampling algorithms

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Latest commit

 

History

112 Commits

Folders and files

Repository files navigation

Methods for Sampling Random Permutations in Cryptography

This library accompany the SoK: Methods for Sampling Random Permutations in Cryptography

The code is released under the MIT licence.

This project makes use of the following external libraries with corresponding licence:

The code has been tested to work correctly on UNIX systems with compiler clang version 14.0.3.

Benchmarks

Build and run all benchmarks

python bench_run.py

NOTE: modify the variable N_ITERATIONS in /src/definitions.h to specify the number of iterations to be run in the benchmark tests.

To parse the result, see the usage of

./bench_parse.sh [sp,cp,ip,sui] [avx2]

To generate the tikz plot for LaTex

gnuplot -c bench_plot.gp ./bench_dir/[NAME_FILE]

[NAME_FILE] stands for the name of the file generated by the parsing script, and it starts with benchmark_....

About

Secure implementations permutation sampling algorithms

Topics

Resources

Stars

3 stars

Watchers

2 watching

Forks

Contributors

Languages