Function snarkvm_dpc::testnet1::record::encoded::encode_to_group[][src]

pub fn encode_to_group<P: MontgomeryParameters + TwistedEdwardsParameters, G: Group + ProjectiveCurve>(
    x_bytes: &[u8]
) -> Result<(<G as ProjectiveCurve>::Affine, bool), DPCError>
Expand description

Encode a base field element bytes to a group representation