Trait paillier::traits::Decoder
[−]
[src]
pub trait Decoder<T> { type Source; fn decode(&self, y: &Self::Source) -> T; }
Decoding from plaintexts.
Associated Types
type Source
Required Methods
Implementors
impl<I> Decoder<u64> for paillier::coding::integral::Code<I> where u64: ConvertFrom<I>
impl<I> Decoder<Vec<u64>> for paillier::coding::integral::Code<I> where u64: ConvertFrom<I>,
I: One,
I: Clone,
I: From<u64>,
I: Shl<usize, Output=I>,
I: Add<I, Output=I>,
&'a I: Rem<&'b I, Output=I>,
&'a I: Shr<usize, Output=I>