Learn R Programming

homomorpheR

Install this package the usual way in R or via:

library(devtools)
install_github("bnaras/homomorpheR")

Two vignettes are provided:

vignette(package = "homomorpheR")

will list them after installation.

> vignette(package = "homomorpheR")
Vignettes in package 'homomorpheR':

introduction            Introduction to Homomorphic Computation
                        (source, html)
homomorphing            MLE using Homomorphic Computation (source,
                        html)

Then view, for example, as follows:

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

Three examples are provided:

  • A quick and easy introduction to homomorphic computations
  • An example of Homomorphic Maximum Likelihood Estimation for a Poisson parameter.
  • A larger example of Homomorphic Computations for fitting a Stratified Cox Regression model where the data is distributed across sites.

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

Copy Link

Version

Install

install.packages('homomorpheR')

Monthly Downloads

172

Version

0.2-2

License

MIT + file LICENSE

Issues

Pull Requests

Stars

Forks

Last Published

January 23rd, 2019

Functions in homomorpheR (0.2-2)

PaillierPrivateKey

Construct a Paillier private key with the given secret and a public key
homomorpheR

homomorpheR: Homomorphic computations in R
random.bigz

Return a random big number using the cryptographically secure random number generator from in the sodium package.
PaillierPublicKey

Construct a Paillier public key with the given modulus.
PaillierKeyPair

Construct a Paillier public and private key pair given a fixed number of bits