Skip to main content

window_lines

Function window_lines 

Source
fn window_lines(bytes: &[u8], from_middle: bool) -> Vec<String>
Expand description

Every whole line of bytes, masked. The whole text is masked before it is split, so a private key whose BEGIN and END lines are many lines apart is hidden as one block. When from_middle the first line is a fragment of a longer one and is dropped.