get_hop_level: Hop level and encoding type of a ciphertext

View source: R/object-accessors.R

get_hop_levelR Documentation

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)

Arguments

ct

A Ciphertext.

hop_level

Integer.

encoding_type

A member of PlaintextEncodings.

Value

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


openfhe.R documentation built on Nov. 13, 2026, 5:07 p.m.