| HEMaster | R Documentation |
HEMaster objects run a distributed computation based
upon a definition file that encapsulates all information
necessary to perform a computation. A master makes use of two
non-cooperating parties which communicate with sites that
perform the actual computations using local data.
dendenominator for rational arithmetic
den_bitsnumber of bits for denominator for rational arithmetic
new()Create a HEMaster object to run homomorphic encrypted computation
HEMaster$new(defn)
defnthe homomorphic computation definition
a HEMaster object
getNC_party()Return a list of noncooperating parties (NCPs)
HEMaster$getNC_party()
a named list of length 2 of noncooperating party information
getPubkey()Return the public key from the public private key pair
HEMaster$getPubkey()
an R6 Pubkey object
addNCP()Add a noncooperating party to this master either using a url or an object in session for prototyping
HEMaster$addNCP(ncp_defn, url = NULL, ncpWorker = NULL)
ncp_defnthe definition of the NCP
urlthe url for the NCP; only one of url and ncpWorker should be non-null
ncpWorkeran instantiated worker object; only one of url and ncpWorker should be non-null
run()Run a distributed homomorphic encrypted computation and return the result
HEMaster$run(debug = FALSE)
debuga flag for debugging, default FALSE
the result of the distributed homomorphic computation
clone()The objects of this class are cloneable with this method.
HEMaster$clone(deep = FALSE)
deepWhether to make a deep clone.
NCP()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.