Support for configurable levels of redaction, default to first 6 / last 4 redaction

Adds support for configuring the number of trailing digits to leave unredacted.

Make the default redaction leave the first 6 digits and trailing 4 digits alone.

Add some additional test cases.