Type Definition paillier::arithimpl::gmpimpl::BigInt [−][src]
type BigInt = Mpz;
Trait Implementations
impl<'n> From<&'n BigInt> for EncryptionKey
[src]
impl<'n> From<&'n BigInt> for EncryptionKey
impl From<BigInt> for Randomness
[src]
impl From<BigInt> for Randomness
fn from(x: BigInt) -> Randomness
[src]
fn from(x: BigInt) -> Randomness
Performs the conversion.
impl<'b> From<&'b BigInt> for Randomness
[src]
impl<'b> From<&'b BigInt> for Randomness
fn from(x: &'b BigInt) -> Randomness
[src]
fn from(x: &'b BigInt) -> Randomness
Performs the conversion.
impl<'b> From<BigInt> for RawPlaintext<'b>
[src]
impl<'b> From<BigInt> for RawPlaintext<'b>
impl<'b> From<&'b BigInt> for RawPlaintext<'b>
[src]
impl<'b> From<&'b BigInt> for RawPlaintext<'b>
impl<'b> From<RawPlaintext<'b>> for BigInt
[src]
impl<'b> From<RawPlaintext<'b>> for BigInt
fn from(x: RawPlaintext<'b>) -> Self
[src]
fn from(x: RawPlaintext<'b>) -> Self
Performs the conversion.
impl<'b> From<BigInt> for RawCiphertext<'b>
[src]
impl<'b> From<BigInt> for RawCiphertext<'b>
impl<'b> From<&'b BigInt> for RawCiphertext<'b>
[src]
impl<'b> From<&'b BigInt> for RawCiphertext<'b>
impl<'b> From<RawCiphertext<'b>> for BigInt
[src]
impl<'b> From<RawCiphertext<'b>> for BigInt
fn from(x: RawCiphertext<'b>) -> Self
[src]
fn from(x: RawCiphertext<'b>) -> Self
Performs the conversion.
impl<'ek, 'r> PrecomputeRandomness<&'ek EncryptionKey, &'r BigInt, PrecomputedRandomness> for Paillier
[src]
impl<'ek, 'r> PrecomputeRandomness<&'ek EncryptionKey, &'r BigInt, PrecomputedRandomness> for Paillier
fn precompute(ek: &'ek EncryptionKey, r: &'r BigInt) -> PrecomputedRandomness
[src]
fn precompute(ek: &'ek EncryptionKey, r: &'r BigInt) -> PrecomputedRandomness
impl PrimeSampable for BigInt
[src]
impl PrimeSampable for BigInt
fn sample_prime(bitsize: usize) -> Self
[src]
fn sample_prime(bitsize: usize) -> Self