You may like to demonstrate a few existing approaches which are prone to breakage. 3v4l.org/36DtC
You might like to expose framework implementations and how your proposal aligns/differs from their implementations. Points of clarification... When obfuscating/redacting, sometimes I intentionally avoid a one-to-one replacement of characters. Might your function somehow offer that flexibility? stackoverflow.com/questions/43762251 What happens if the number of targeted characters in the input string is fewer than the range that the offset and length parameters represent? Will the input string increase in length or stay the same multibyte length? mickmackusa
