mod¶

Flower Built-in Mods.

Functions

adaptiveclipping_mod(msg, ctxt, call_next)

Client-side adaptive clipping modifier.

fixedclipping_mod(msg, ctxt, call_next)

Client-side fixed clipping modifier.

make_ffn(ffn, mods)

message_size_mod(msg, ctxt, call_next)

Message size mod.

parameters_size_mod(msg, ctxt, call_next)

Parameters size mod.

secagg_mod(msg, ctxt, call_next)

Handle incoming message and return results, following the SecAgg protocol.

secaggplus_mod(msg, ctxt, call_next)

Handle incoming message and return results, following the SecAgg+ protocol.

Classes

LocalDpMod(clipping_norm, sensitivity, ...)

Modifier for local differential privacy.