pub fn generate_random<R: Rng>(rng: &mut R) -> Self {
        Self::generate_from(
            rng.gen(),
            rng.gen(),
            jubjub::Scalar::random(rng),
            TransactionTime::current(),
            [0; 8],
        )
    }
/// Generate a completely random note.
Generate a completely random note.
Generate a completely random note .
pub fn generate_random<R: Rng>(rng: &mut R) -> Self {
        Self::generate_from(
            rng.gen(),
            rng.gen(),
            jubjub::Scalar::random(rng),
            TransactionTime::current(),
            [0; 8],
        )
    }
pub fn generate_random < R : Rng > ( rng : & mut R ) -> Self { Self :: generate_from ( rng . gen ( ) , rng . gen ( ) , jubjub :: Scalar :: random ( rng ) , TransactionTime :: current ( ) , [ 0 ; 8 ] , ) }
Generate a completely random note.
Generate a completely random note .
rng
&mut R
rng
&mut R