Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Supporting a more secure hash for email addresses #437

Open
simondean opened this issue Dec 6, 2021 · 0 comments
Open

Supporting a more secure hash for email addresses #437

simondean opened this issue Dec 6, 2021 · 0 comments

Comments

@simondean
Copy link

Hi. staticman supports only md5 hashing, e.g. to hash an email address field. md5 is an insecure hashing algorithm. It's probably possible to convert md5 hashes to real email addresses using something like a rainbow table attack. Would it be possible to add support for a more secure hashing algorithm like SHA-256? Thanks

https://github.com/eduardoboucas/staticman/blob/5d7ed7708775e3d4864382cca88d2d73ff875864/lib/Transforms.js

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant