zebra_chain::orchard::sinsemilla

Function extract_p

source
pub fn extract_p(point: Point) -> Base
Expand description

Coordinate Extractor for Pallas

ExtractP: P ā†’ Pš‘„ such that ExtractP(š‘ƒ) = š‘„(š‘ƒ) mod š‘žP.

ExtractP returns the type Pš‘„ which is precise for its range, unlike ExtractJ(š‘Ÿ) which returns a bit sequence.