Oracle Error ORA-28085: The input and output lengths of the redaction do not match.

Oracle Error Message

ORA-28085: The input and output lengths of the redaction do not match.

Reason for the Error

As specified, the redaction parameters produced an output with a length different to that of the input.

Solution

Use regular expression redaction instead of partial redaction.