Using SHA256 to hash email addresses

If you upload your users’ email addresses to Facebook or AdWords, you should hash them to conform and abide by all data privacy and protection rules.

Uploading them to these two marketing systems requires the SHA-256 hash algorithm, other algorithms do not work as your users will not be matched with their corresponding profiles.


Hashing addresses using online tools

There are a few tools on the internet, that do the hashing for you. We can recommend, where you can use other algorithms, too.

However, using online tools, you’ll be sharing potentially valuable and maybe even protected data with a third party. Most larger companies will not allow their employees in the first place and require you to do it locally.


Hashing emails using R

We suggest using the statistical programming language R to hash data. It’ll hash even large files easily and is the Swiss army knife when it comes to handling data. Below you find a script that will make R Studio hash your users’ mails: