Based on Extensible Algorithm Framework
The Email Unique algorithm is an instance of the Email Algorithm Framework. This algorithm splits the input on the '@' symbol. Handling of malformed inputs is detailed on the Email Algorithm Framework page. This algorithm does not generate any non-conformant data events. The algorithm will split the input into two parts: name and domain. Name is the portion before the '@' symbol and domain is the portion after the '@' symbol.
The name portion is masked by performing a SHA-256 hash of the entire input (including the domain). This means that inputs with the same name portion but different domain portions will mask to different values. The hashed value is then encoded using Base32 encoding. The result of these transformations is the masked name portion.
The domain portion is replaced by the fixed value "example.com". This value is a reserved domain with a valid DNS entry.
This algorithm is deterministic based on an algorithm key. This algorithm provides unique masked values for each input. The out-of-the-box instance of this algorithm is called dlpx-core:Email Unique.
- "firstname.lastname@example.org" → "XF35TNMKPPTMQF4CX5264ZRXOMJJL2DQVE3KTZNIJ2NS6EUH7GLA@example.com"
- "email@example.com" → "M2U3LCC24MP5XDQ7DH4RSDW6QXCWRTSJVQF22C7IKBXDQ3LBM7NQ@example.com"
- "firstname.lastname@example.org" → "CQKOXVBPD3VT42XHLBBUHEWIAJ26X3NROEBZHMSC7B4NFSZSTBIQ@example.com"
- "email@example.com" → "JTJNSLWLK4TWQ7VKG2KMRMMMH4M3FRIXUXFR7TIEL6VJR3G6AU2Q@example.com"