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

base64_to_int(source)[source]
base64url_decode(payload)[source]
base64url_encode(payload)[source]
ciphertext_to_int(d)[source]
combine(g, h)[source]
create_pub_key(key, n_length=1024)[source]
decode_encrypted_data(encoded: str, n_length=1024)[source]
decode_encrypted_numbers_from_str(pubkey, encoded: str)[source]
decode_feature_aggregations(pubkey, encoded: str)[source]
encode_encrypted_data(pubkey, encrypted_numbers) str[source]
encode_encrypted_numbers_to_str(numbers)[source]
encode_feature_aggregations(aggrs: list)[source]
encrypt_number(pubkey, ciphertext, exponent)[source]
generate_keys(n_length=1024)[source]
get_exponent(d)[source]
int_to_base64(source)[source]
int_to_ciphertext(d, pubkey)[source]
split(d)[source]