Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,963
    Thanks
    120
    Thanked 76 Times in 76 Posts

    Saving email address to database

    I'm doing register/login system. Databases can be broken by atackers so:

    1. saving users passwords as SHA1, I read somewhere that SHA1 can be theoreticaly broken but not in practical world.

    2.How to save email adresses, if I use one way encryption, should I use same password for all emails, and where to store that password, would it be save to have it stored directly in server side code ?

    Thanks for suggestions.

  • #2
    Senior Coder shyam's Avatar
    Join Date
    Jul 2005
    Posts
    1,563
    Thanks
    2
    Thanked 163 Times in 160 Posts
    if u store email-ids as hashes how will u send mail notifications?
    You never have to change anything you got up in the middle of the night to write. -- Saul Bellow

  • #3
    Senior Coder
    Join Date
    Dec 2005
    Location
    Slovenia
    Posts
    1,963
    Thanks
    120
    Thanked 76 Times in 76 Posts
    Sory probably my bad(i was thinking TEA, AES,... as oposite to RSA), not hash.

    So basicaly I need to know where to store password, and is it one password enough.

    Looking at security ?


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •