PersonalDataObfuscatorUtil

This Gosu class is in the same package as the personal data obfuscation classes, gw.personaldata.obfuscation. The class implements the method computeMD5Padding. If a personal data field has a PersonalData tag with value ObfuscateUnique, this method is called to obfuscate the field.

The method computes an MD5 String based on the type of entity and the PublicID, and then returns that string so the field can be obfuscated with that value.

For example, DefaultPersonalDataObfuscator calls this method in its getObfuscatedValueForPersonalDataField method when the field’s PersonalData tag has the value PersonalDataTagValue.TC_OBFUSCATEUNIQUE.Code.

See also