Skip to contents

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.