The function makeWorker
returns an object of the
appropriate type based on a computation definition and sets the
data for the object. The types of objects that can be created
depend upon the available computations
makeWorker(defn, data, pubkey_bits = NULL, pubkey_n = NULL, den_bits = NULL)
a worker object of the appropriate class based on the definition
the computation definition
the data for the computation
the number of bits for the public key (used only
if he
is TRUE
in computation definition)
the n
for public key (used only if he
is TRUE
in computation definition)
the number of bits for the denominator (used only
if he
is TRUE
in computation definition)
availableComputations()