Function curve25519_dalek::montgomery::elligator_encode[][src]

pub(crate) fn elligator_encode(r_0: &FieldElement51) -> MontgomeryPoint
Expand description

Perform the Elligator2 mapping to a Montgomery point.

See https://tools.ietf.org/html/draft-irtf-cfrg-hash-to-curve-10#section-6.7.1