Trait scicrypt::Enrichable [−][src]
pub trait Enrichable<PK> { fn enrich(self, public_key: &PK) -> RichCiphertext<'_, Self, PK>
where
Self: Sized, { ... } }
Expand description
Functionality to easily turn a ciphertext into a rich ciphertext
Provided methods
fn enrich(self, public_key: &PK) -> RichCiphertext<'_, Self, PK> where
Self: Sized,
fn enrich(self, public_key: &PK) -> RichCiphertext<'_, Self, PK> where
Self: Sized,
Enriches a ciphertext by associating it with a corresponding public key.