Learn R Programming

openfhe.R (version 1.6.1)

get_hop_level: Hop level and encoding type of a ciphertext

Description

The hop level is the number of proxy re-encryptions recorded on a ciphertext. The encoding type records which plaintext encoding the ciphertext carries (see get_encoding_type()).

Usage

get_hop_level(ct)

set_hop_level(ct, hop_level)

set_encoding_type(ct, encoding_type)

Value

get_hop_level(): an integer. The setters return ct, invisibly.

Arguments

ct

A Ciphertext.

hop_level

Integer.

encoding_type

A member of PlaintextEncodings.