pub fn plaintext_from_bytes(bytes: &[Chunk; NUM_CHUNKS]) -> Vec<isize> {
    bytes
        .iter()
        .map(|chunk| isize::try_from(*chunk).expect("Invalid chunk: Too large to parse"))
        .collect()
}
/// Converts standard plaintext chunks into the miracl-compatible form.
///
/// # Panics
/// This will panic if a chunk is too large; this should be impossible as the
/// Chunk size should not be larger than the Miracl representation of a chunk.
Converts standard plaintext chunks into the miracl-compatible form.
Converts standard plaintext chunks into the miracl - compatible form .
pub fn plaintext_from_bytes(bytes: &[Chunk; NUM_CHUNKS]) -> Vec<isize> {
    bytes
        .iter()
        .map(|chunk| isize::try_from(*chunk).expect("Invalid chunk: Too large to parse"))
        .collect()
}
pub fn plaintext_from_bytes ( bytes : & [ Chunk ; NUM_CHUNKS ] ) -> Vec < isize > { bytes . iter ( ) . map ( | chunk | isize :: try_from ( * chunk ) . expect ( " " ) ) . collect ( ) }
Converts standard plaintext chunks into the miracl-compatible form.
Converts standard plaintext chunks into the miracl - compatible form .
bytes
&[Chunk; NUM_CHUNKS]
bytes
&[Chunk; NUM_CHUNKS]
panics
This will panic if a chunk is too large; this should be impossible as the
Chunk size should not be larger than the Miracl representation of a chunk.
This will panic if a chunk is too large ; this should be impossible as the Chunk size should not be larger than the Miracl representation of a chunk .