Pseudo v0.2.3 Pseudo View Source

The Pseudo library will obfuscate names and emails for GDPR compliance.

Link to this section Summary

Functions

Conceal will change characters of email for GDPR compliance.

Link to this section Functions

Link to this function

conceal(string, options \\ %{format: :anonymous})

View Source

Conceal will change characters of email for GDPR compliance.

Examples

iex> email = "rick_and_morty@gmail.com"
iex> Pseudo.conceal(email)
"r*******@g*****.com"

iex> username = "pickl3_r@ck"
iex> Pseudo.conceal(username)
"p**********"