divviup / libprio-rs

Implementation of Prio in Rust.
Mozilla Public License 2.0
103 stars 31 forks source link

flp: Move AFE methods to their own trait #1108

Open cjpatton opened 3 months ago

cjpatton commented 3 months ago

The Type trait requires encode_measurement(), truncate(), and decode_result(). These are for the "affine aggregatable encoding" piece of Prio3. However there are applications of FLPs that don't use these methods. Could we move these to their own trait?