Description Usage Details Examples
The Fan and Vercauteren scheme is implemented in this package.
1 | p <- pars("FandV")
|
Description of the scheme.
1 2 3 4 5 6 7 8 9 | # Benchmark the performance of the scheme
library(microbenchmark)
p <- pars("FandV")
microbenchmark({ keys <- keygen(p) }, unit="ms")
microbenchmark({ ct1 <- enc(keys$pk, 2) }, unit="ms")
ct2 <- enc(keys$pk, 3)
microbenchmark({ ct1 + ct2 }, unit="ms")
microbenchmark({ ct1 * ct2 }, unit="ms")
microbenchmark({ dec(keys$sk, ct1) }, unit="ms")
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.