Learn R Programming

openfhe.R (version 1.6.1)

deserialize_eval_keys_string: Deserialize evaluation keys held in memory

Description

Registers the keys in data, as serialize_eval_keys() with filename = NULL returns them.

Usage

deserialize_eval_keys_string(
  data,
  type = c("mult", "automorphism", "sum"),
  format = NULL
)

Value

TRUE, invisibly.

Arguments

data

A raw vector (binary format) or a character string (JSON).

type

"mult", "automorphism" or "sum".

format

NULL (default) to take the format from data, or "binary" or "json", which must then agree with data.