zebra_chain::orchard::sinsemilla

Function pallas_group_hash

source
pub fn pallas_group_hash(D: &[u8], M: &[u8]) -> Point
Expand description

GroupHash into Pallas, aka GroupHash^P

Produces a random point in the Pallas curve. The first input element acts as a domain separator to distinguish uses of the group hash for different purposes; the second input element is the message.

https://zips.z.cash/protocol/nu5.pdf#concretegrouphashpallasandvesta