TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

You might not need to store (plaintext) emails

12 pointsby danielskoglyover 4 years ago

3 comments

c0llisionover 4 years ago
I don't think hashes of email addresses are very secure. You can get all of the email addresses from the smtp logs. There are also massive email lists out there that the attacker could run the hashes against, like the adobe leak. Email addresses typically follow specific formats, such as firstname.lastname@gmail.com, and would be quite easy to bruteforce/dictionary attack. If the hashes were to ever leak, easily >95% would be cracked, especially if they are using single-round SHA512.
评论 #24967366 未加载
donatjover 4 years ago
I feel like particularly if you are storing user data in a way that is visible to others, you have a responsibility to be able to contact the author of the data, given potential abuse?
throwaway015089over 4 years ago
1) you can hash together email + randomsalt + password and then store randomsalt and the hashed value<p>2) you avoid passwords altogether by giving a user an authentication token to be saved as a bookmark perhaps? The token contains a cryptographic signature
评论 #24974685 未加载