Expand description
§masker
This crate provides an object Masker
which can replace
a set of (potentially overlapping) patterns in input data
with a fixed mask. It’s usually faster than simply doing
searches with replacement one by one, and it handles two
awkward cases:
- It allows you to provide the data in chunks, for example to mask data as you upload it.
- It handles the case where masked regions blend together, for example if two patterns are present and overlap, then replacing either of them first leaves characters from the other visible.
There are the following features:
"streams"
- MaskStream
implementations by wrapping them.
Structs§
- Chunk
Masker - Mask a sequence of data blocks
- Masker
- Replace byte sequences with a chosen mask value
- Match
Data - A pattern to mask