pub fn eval_scal(c: &Ciphertext, val: &BigInt) -> Ciphertext {
    unsafe { pari_init(10000000, 2) };
    let c_new = Ciphertext {
        c1: c.c1.exp(&val),
        c2: c.c2.exp(&val),
    };
    c_new
}
/// Multiplies the encrypted value by `val`.
Multiplies the encrypted value by `val`.
Multiplies the encrypted value by ` val ` .
pub fn eval_scal(c: &Ciphertext, val: &BigInt) -> Ciphertext {
    unsafe { pari_init(10000000, 2) };
    let c_new = Ciphertext {
        c1: c.c1.exp(&val),
        c2: c.c2.exp(&val),
    };
    c_new
}
pub fn eval_scal ( c : & Ciphertext , val : & BigInt ) -> Ciphertext { unsafe { pari_init ( 10000000 , 2 ) } ; let c_new = Ciphertext { c1 : c . c1 . exp ( & val ) , c2 : c . c2 . exp ( & val ) , } ; c_new }
Multiplies the encrypted value by `val`.
Multiplies the encrypted value by ` val ` .
c
&Ciphertext
val
&BigInt
c
&Ciphertext
val
&BigInt