pub(crate) fn deterministic_blind_unchecked<CS: CipherSuite>(
    input: &[u8],
    blind: &<CS::Group as Group>::Scalar,
    mode: Mode,
) -> Result<<CS::Group as Group>::Elem>
where
    <CS::Hash as OutputSizeUser>::OutputSize:
        IsLess<U256> + IsLessOrEqual<<CS::Hash as BlockSizeUser>::BlockSize>,
{
    let dst = GenericArray::from(STR_HASH_TO_GROUP).concat(create_context_string::<CS>(mode));
    let hashed_point =
        CS::Group::hash_to_curve::<CS::Hash>(&[input], &dst).map_err(|_| Error::Input)?;
    Ok(hashed_point * blind)
}
/// Inner function for blind that assumes that the blinding factor has already
/// been chosen, and therefore takes it as input. Does not check if the blinding
/// factor is non-zero.
///
/// Can only fail with [`Error::Input`].
Inner function for blind that assumes that the blinding factor has already
been chosen, and therefore takes it as input. Does not check if the blinding
factor is non-zero.

Can only fail with [`Error::Input`].
Inner function for blind that assumes that the blinding factor has already been chosen and therefore takes it as input . Does not check if the blinding factor is non - zero . Can only fail with [ ` Error :: Input ` ] .
pub(crate) fn deterministic_blind_unchecked<CS: CipherSuite>(
    input: &[u8],
    blind: &<CS::Group as Group>::Scalar,
    mode: Mode,
) -> Result<<CS::Group as Group>::Elem>
where
    <CS::Hash as OutputSizeUser>::OutputSize:
        IsLess<U256> + IsLessOrEqual<<CS::Hash as BlockSizeUser>::BlockSize>,
{
    let dst = GenericArray::from(STR_HASH_TO_GROUP).concat(create_context_string::<CS>(mode));
    let hashed_point =
        CS::Group::hash_to_curve::<CS::Hash>(&[input], &dst).map_err(|_| Error::Input)?;
    Ok(hashed_point * blind)
}
pub ( crate ) fn deterministic_blind_unchecked < CS : CipherSuite > ( input : & [ u8 ] , blind : & < CS :: Group as Group > :: Scalar , mode : Mode , ) -> Result < < CS :: Group as Group > :: Elem > where < CS :: Hash as OutputSizeUser > :: OutputSize : IsLess < U256 > + IsLessOrEqual < < CS :: Hash as BlockSizeUser > :: BlockSize > , { let dst = GenericArray :: from ( STR_HASH_TO_GROUP ) . concat ( create_context_string :: < CS > ( mode ) ) ; let hashed_point = CS :: Group :: hash_to_curve :: < CS :: Hash > ( & [ input ] , & dst ) . map_err ( | _ | Error :: Input ) ? ; Ok ( hashed_point * blind ) }
Inner function for blind that assumes that the blinding factor has already
been chosen, and therefore takes it as input.
Inner function for blind that assumes that the blinding factor has already been chosen and therefore takes it as input .
input
&[u8]
blind
&<CS::Group as Group>::Scalar
mode
Mode
input
&[u8]
blind
&<CS::Group as Group>::Scalar
mode
Mode