pub fn hash_fr<M: AsRef<[u8]>>(msg: M) -> Fr {
    let digest = sha3_256(msg.as_ref());
    //SeedableRng::from_seed(digest).gen04()
    ChaChaRng::from_seed(digest).gen04()
    //Fr::one()
}
/// Returns a hash of the given message in `G2`.
Returns a hash of the given message in `G2`.
Returns a hash of the given message in ` G2 ` .
pub fn hash_fr<M: AsRef<[u8]>>(msg: M) -> Fr {
    let digest = sha3_256(msg.as_ref());
    //SeedableRng::from_seed(digest).gen04()
    ChaChaRng::from_seed(digest).gen04()
    //Fr::one()
}
pub fn hash_fr < M : AsRef < [ u8 ] > > ( msg : M ) -> Fr { let digest = sha3_256 ( msg . as_ref ( ) ) ; //SeedableRng::from_seed(digest).gen04() ChaChaRng :: from_seed ( digest ) . gen04 ( ) //Fr::one() }
Returns a hash of the given message in `G2`.
Returns a hash of the given message in ` G2 ` .
msg
M
msg
M