sparse_key_gen: Generate a sparse key pair

View source: R/key-switching.R

sparse_key_genR Documentation

Generate a sparse key pair

Description

Calls the C++ SparseKeyGen(), which the OpenFHE header describes as a key pair "with special structure and without full entropy" for uses such as ring reduction, and as not supported by any scheme at present. Use key_gen() for ordinary keys.

Usage

sparse_key_gen(cc)

Arguments

cc

A CryptoContext.

Value

A KeyPair.


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