Learn R Programming

openfhe.R (version 1.6.1)

eval_automorphism: Apply an automorphism to a ciphertext

Description

Evaluates the automorphism at the given index on ct using the eval-key map returned by eval_automorphism_key_gen(). The result is a new ciphertext whose decrypted slot vector is a permutation of ct's slot vector (the permutation determined by the automorphism group element).

Usage

eval_automorphism(ct, index, eval_key_map)

Value

A transformed Ciphertext.

Arguments

ct

A Ciphertext.

index

Integer; the automorphism index (must match one of the indices passed to eval_automorphism_key_gen()).

eval_key_map

An EvalKeyMap from eval_automorphism_key_gen().

See Also

eval_automorphism_key_gen(), eval_rotate()