Module setup_params

Module setup_params 

Source
Expand description

Represents (public) setup parameters of different protocols. Setup parameters (enum variants here) can be either directly passed to the Statement or can be wrapped in this enum SetupParams and then a reference to this enum is passed to the Statement. This enum is helpful when the same setup parameter needs to be passed to several Statements as it avoids the need of having several copies of the setup param. This becomes more important when interacting with the WASM bindings of this crate as the overhead of repeated serialization and de-serialization can be avoided.

Structs§

ElgamalEncryptionParams
Elgamal encryption parameters generated by the decryptor

Enums§

SetupParams
Holds (public) setup parameters of different protocols.