Trait scicrypt_traits::Enrichable[][src]

pub trait Enrichable<'pk, PK, RC> {
    fn enrich(self, public_key: &'pk PK) -> RC
    where
        Self: Sized
; }
Expand description

Functionality to easily turn a ciphertext into a rich ciphertext

Required methods

Enriches a ciphertext by associating it with a corresponding public key.

Implementors