Function dleq::cross_group::scalar::mutual_scalar_from_bytes

source ยท
pub fn mutual_scalar_from_bytes<F0: PrimeFieldBits + Zeroize, F1: PrimeFieldBits>(
    bytes: &[u8],
) -> (F0, F1)
Available on crate feature experimental only.
Expand description

Create a mutually valid scalar from bytes via bit truncation to not introduce bias.