Skip to contents

A Master that drives the protocol over openfhe.R's CKKS encryption. CKKS handles real-valued arithmetic natively, so no den denominator is needed. Constructed by make_ckks_master().

Usage

CKKSMaster(
  name = character(0),
  state = new.env(parent = emptyenv()),
  crypto_context = openfhe.R::CryptoContext(),
  keypair = openfhe.R::KeyPair()
)

Arguments

name

short identifier shown in printed output.

state

an environment for mutable bookkeeping.

crypto_context

an openfhe.R CryptoContext configured for CKKS.

keypair

an openfhe.R KeyPair.

Value

an S7 object of class CKKSMaster, inheriting from Master, with properties name, crypto_context, keypair and state. It holds a single CKKS key pair, so it is the appropriate master when one party is allowed to hold the secret key; when no party may, use ThresholdMaster. Construct with make_ckks_master().