mask token values

scramble a percentage of leading and trailing characters for a
provided value to avoid security issues.

Change-Id: I544e57be1b554a4fd92b634a57ae0ca63a2e7d09
Closes-Bug: #1262393
Merge "mask token values"