Trait pairing_ce::GenericCompressedEncodable[][src]

pub trait GenericCompressedEncodable<const N: usize>: GenericCurveAffine {
    fn into_compressed(&self) -> (EncodingBytes<Self, N>, bool);
fn from_compressed(
        encoding: EncodingBytes<Self, N>,
        parity: bool
    ) -> Result<Self, GroupDecodingError>; }

Required methods

fn into_compressed(&self) -> (EncodingBytes<Self, N>, bool)[src]

Converts this element into its uncompressed encoding, so long as it’s not the point at infinity.

fn from_compressed(
    encoding: EncodingBytes<Self, N>,
    parity: bool
) -> Result<Self, GroupDecodingError>
[src]

Converts an uncompressed encoding into the curve point

Loading content...

Implementors

Loading content...