setting the lenght of redacted text to the length of the value being redacted