DEV Community

Discussion on: Disclosing a State of JavaScript/State of CSS Data Leak

Collapse
 
lachy profile image
Lachlan Hunt

Please ensure you consult experts on security and privacy before choosing a new approach, and also seek community feedback once you come up with a new plan.

For example, it’s not enough to simply use an ordinary one way hash of email addresses, because nothing stops an adversary simply applying the same function to some publicly known email addresses and looking for matches in your dataset. I suspect this is probably what the original developer had in mind when they chose an encryption function instead.

Collapse
 
sachagreif profile image
Sacha Greif

Yes, we will not publish hashes at all going forward. We do need to store one way email hashes privately for log in purposes, but they won’t be part of any public dataset.