/// Computes the third step for the multiplicative blinding version of
/// DH-OPRF, in which the client unblinds the server's message.
///
/// # Errors
/// [`Error::Input`] if the `input` is empty or longer then [`u16::MAX`].
Computes the third step for the multiplicative blinding version of
DH-OPRF, in which the client unblinds the server's message.
Computes the third step for the multiplicative blinding version of DH - OPRF in which the client unblinds the server ' s message .
pub fn finalize(
        &self,
        input: &[u8],
        evaluation_element: &EvaluationElement<CS>,
    ) -> Result<Output<CS::Hash>> {
        let unblinded_element = evaluation_element.0 * &CS::Group::invert_scalar(self.blind);
        let mut outputs =
            finalize_after_unblind::<CS, _, _>(iter::once((input, unblinded_element)), &[]);
        outputs.next().unwrap()
    }
pub fn finalize ( & self , input : & [ u8 ] , evaluation_element : & EvaluationElement < CS > , ) -> Result < Output < CS :: Hash > > { let unblinded_element = evaluation_element . 0 * & CS :: Group :: invert_scalar ( self . blind ) ; let mut outputs = finalize_after_unblind :: < CS , _ , _ > ( iter :: once ( ( input , unblinded_element ) ) , & [ ] ) ; outputs . next ( ) . unwrap ( ) }
Computes the third step for the multiplicative blinding version of
DH-OPRF, in which the client unblinds the server's message.
Computes the third step for the multiplicative blinding version of DH - OPRF in which the client unblinds the server ' s message .
&self
input
&[u8]
evaluation_element
&EvaluationElement<CS>
errors
[`Error::Input`] if the `input` is empty or longer then [`u16::MAX`].
[ ` Error :: Input ` ] if the ` input ` is empty or longer then [ ` u16 :: MAX ` ] .