fn generate_predicate() -> (Predicate, Scalar) {
    let gens = PedersenGens::default();

    let scalar = Scalar::from(0u64);
    let pred = Predicate::Key((scalar * gens.B).compress().into());
    (pred, scalar)
}
/// Generates a secret Scalar / key Predicate pair
Generates a secret Scalar / key Predicate pair
Generates a secret Scalar / key Predicate pair
fn generate_predicate() -> (Predicate, Scalar) {
    let gens = PedersenGens::default();
    let scalar = Scalar::from(0u64);
    let pred = Predicate::Key((scalar * gens.B).compress().into());
    (pred, scalar)
}
fn generate_predicate ( ) -> ( Predicate , Scalar ) { let gens = PedersenGens :: default ( ) ; let scalar = Scalar :: from ( 0u64 ) ; let pred = Predicate :: Key ( ( scalar * gens . B ) . compress ( ) . into ( ) ) ; ( pred , scalar ) }
Generates a secret Scalar / key Predicate pair
Generates a secret Scalar / key Predicate pair