This library implements the semi-honest SimpleOT [1] and OT Extension [2].
To compile:
- if you want to use the browser version, install
cargo-web
and runcargo web run
orcargo web build
export RUSTFLAGS="-C target_cpu=native"
for maximum performance (or set 25519dalek features to "u32_backend" and "std") in native environments
[1] T. Chou und C. Orlandi, „The Simplest Protocol for Oblivious Transfer“, in International Conference on Cryptology and Information Security in Latin America, Berlin, Heidelberg, 2015.
[2] Y. Ishai, J. Kilian, K. Nissim, und E. Petrank, „Extending Oblivious Transfers Efficiently“, in Advances in Cryptology - CRYPTO 2003, Berlin, Heidelberg, 2003, Bd. 2729, S. 145–161.