pub fn scalar_from_slice(bytes: &[u8]) -> Result<Scalar>
Decode a scalar from a slice, validating length.