[wp-trac] [WordPress Trac] #44078: Add an email pseudonymization function that preserves first letter and TLD

WordPress Trac noreply at wordpress.org
Mon May 14 18:16:11 UTC 2018


#44078: Add an email pseudonymization function that preserves first letter and TLD
-------------------------+------------------------------
 Reporter:  allendav     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:
 Severity:  normal       |   Keywords:  gdpr needs-patch
  Focuses:               |
-------------------------+------------------------------
 In addition to the existing behavior of wp_privacy_anonymize_data(
 'email', $email_address) which returns deleted at site.invalid, it would be
 useful, e.g. for debug logging to have another type that would return
 pseudonymized email addresses that retain a little bit of the original
 address, e.g.

 my-mailbox at mailprovider.com.ca could be come
 m*********@****************.ca

 Where the number of * corresponds to the letters removed, and only the
 first letter of the email address and the TLD are retained.

 See also https://iapp.org/news/a/top-10-operational-impacts-of-the-gdpr-
 part-8-pseudonymization/

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/44078>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list