pub fn blind<R: RngCore + CryptoRng>(
        input: &[u8],
        blinding_factor_rng: &mut R,
    ) -> Result<OprfClientBlindResult<CS>> {
        let blind = CS::Group::random_scalar(blinding_factor_rng);
        Self::deterministic_blind_unchecked_inner(input, blind)
    }
/// Computes the first step for the multiplicative blinding version of
/// DH-OPRF.
///
/// # Errors
/// [`Error::Input`] if the `input` is empty or longer then [`u16::MAX`].
Computes the first step for the multiplicative blinding version of
DH-OPRF.
Computes the first step for the multiplicative blinding version of DH - OPRF .
pub fn blind<R: RngCore + CryptoRng>(
        input: &[u8],
        blinding_factor_rng: &mut R,
    ) -> Result<OprfClientBlindResult<CS>> {
        let blind = CS::Group::random_scalar(blinding_factor_rng);
        Self::deterministic_blind_unchecked_inner(input, blind)
    }
pub fn blind < R : RngCore + CryptoRng > ( input : & [ u8 ] , blinding_factor_rng : & mut R , ) -> Result < OprfClientBlindResult < CS > > { let blind = CS :: Group :: random_scalar ( blinding_factor_rng ) ; Self :: deterministic_blind_unchecked_inner ( input , blind ) }
Computes the first step for the multiplicative blinding version of
DH-OPRF.
Computes the first step for the multiplicative blinding version of DH - OPRF .
input
&[u8]
blinding_factor_rng
&mut R
input
&[u8]
blinding_factor_rng
&mut R
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 ` ] .