franklin_crypto::group_hash

Function group_hash

Source
pub fn group_hash<E: JubjubEngine>(
    tag: &[u8],
    personalization: &[u8],
    params: &E::Params,
) -> Option<Point<E, PrimeOrder>>
Expand description

Produces a random point in the Jubjub curve. The point is guaranteed to be prime order and not the identity.