Goto Chockstone Home

  Guide
  Gallery
  Tech Tips
  Articles
  Reviews
  Dictionary
  Links
  Forum
  Search
  About

      Sponsored By
      ROCK
   HARDWARE

  Shop
Chockstone Photography
Australian Landscape Photography by Michael Boniwell
Australian Landscape Prints





Chockstone Forum - Chockstone Feedback

Provide Feedback About This Website

Topic Date User
ummm hacked??? 21-Dec-2006 At 3:06:56 AM PensionerPower
Message
On 20/12/2006 gremlin wrote:
>Actually both methods are correct.

No they are not.

When people talk of "encrypting" a password, they generally mean, to encipher the plaintext passwords using a symmetric cipher and a fixed secret key. This is *wrong*, because, anyone who can find that key can instantly decrypt all the passwords into their plaintext forms. No competent password storage scheme should ever let any password be decrypted into its plaintext form.

If you encrypt a password using a symmetric cipher, you should use the password *as* the key, to encrypt a known (public) constant, for example, all-zeros. Then, there is no "secret key" to recover (to decrypt all the other passwords). But this is not what people generally mean when they refer to "encrypting a password".

Best practice is *not* to encrypt passwords *at all*. Instead, salt them & hash them. Salting & hashing is fundamentally different to encrypting.

There are 35 replies to this topic.

 

Home | Guide | Gallery | Tech Tips | Articles | Reviews | Dictionary | Forum | Links | About | Search
Chockstone Photography | Landscape Photography Australia | Australian Landscape Photography | Landscape Photos Australia

Please read the full disclaimer before using any information contained on these pages.



Australian Panoramic | Australian Coast | Australian Mountains | Australian Countryside | Australian Waterfalls | Australian Lakes | Australian Cities | Australian Macro | Australian Wildlife
Landscape Photo | Landscape Photography | Landscape Photography Australia | Fine Art Photography | Wilderness Photography | Nature Photo | Australian Landscape Photo | Stock Photography Australia | Landscape Photos | Panoramic Photos | Panoramic Photography Australia | Australian Landscape Photography | High Country Mountain Huts | Mothers Day Gifts | Gifts for Mothers Day | Mothers Day Gift Ideas | Ideas for Mothers Day | Wedding Gift Ideas | Christmas Gift Ideas | Fathers Day Gifts | Gifts for Fathers Day | Fathers Day Gift Ideas | Ideas for Fathers Day | Landscape Prints | Landscape Poster | Limited Edition Prints | Panoramic Photo | Buy Posters | Poster Prints