Homomorphic Computations in R

Homomorphic computations in R for privacy-preserving applications. Currently only the Paillier Scheme is implemented.

Install this package the usual way in R or via:


Two vignettes are provided:

vignette(package = "homomorpheR")

will list them after installation.

Vignettes in package 'homomorpheR':
introduction            Introduction to Homomorphic Computation
                        (source, html)
homomorphing            MLE using Homomorphic Computation (source,

Then view, for example, as follows:

vignette("introduction", package="homomorpheR")

The first introduces simple homomorphic computations and the other shows a simple example of Maximum Likelihood Estimation for a Poisson parameter.

Eventually, as this library becomes industrial strength, it will be incorporated into the computations defined in distcomp.


Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.


0.2-1 by Balasubramanian Narasimhan, 9 months ago


Report a bug at http://github.com/bnaras/homomorpheR/issues

Browse source code at https://github.com/cran/homomorpheR

Authors: Balasubramanian Narasimhan [aut, cre]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports R6, gmp, sodium

Suggests distcomp, knitr, rmarkdown, survival

See at CRAN