nvflare.app_opt.xgboost.histogram_based_v2.sec.partial_he.encryptor module

class Encryptor(pubkey, max_workers=10)[source]

Bases: object

encrypt(numbers)[source]

Encrypt a list of clear text numbers :param numbers: clear text numbers to be encrypted

Returns: list of encrypted numbers