Skip to main content

scrub_open_start

Function scrub_open_start 

pub fn scrub_open_start(
    text: &str,
    scrub: impl Fn(&str) -> String,
    margin: usize,
) -> String
Expand description

scrub_open_end for a text that is only the last part of a longer output: scrubbed, and without a part of a secret at its start.