Skip to main content

pack_bytes_u64words

Function pack_bytes_u64words 

Source
pub fn pack_bytes_u64words(message: &[u8], big_endian: bool) -> Vec<Word>
Expand description

Pack message bytes into 64-bit words, one word per wire.

The final word is zero-padded if the message length is not a multiple of 8. big_endian selects the byte order within each word.