Confused by salt
- From: ianpiper@xxxxxxxxx
- Date: 28 May 2007 15:00:25 -0700
Hi all,
I hope someone can help clear my confusion. I wrote a program some
time back that used a hash function to store a password. Someone
advised me that I really ought to use a salt with this in order to add
greater security. Having done some reading I am a bit confused. I
understand the principle of adding a number of random characters to
the string before hashing it in order to increase its security. What
confuses me is how you then store the salt in such a way that you can
use it but the bad guys can't. I read somewhere that you can just
store the salt in plain text along with the hashed salted password,
but then surely that defeats the object - your attacker just needs to
prepend or append any dictionary words with that salt and hash the
result before comparing to your stored password. But if you encrypt
the salt, you need a key to decrypt it.
Any illumination greatly welcomed.
Ian.
--
.
- Follow-Ups:
- Re: Confused by salt
- From: clark
- Re: Confused by salt
- From: Roger Schlafly
- Re: Confused by salt
- From: ianpiper
- Re: Confused by salt
- From: Roger Schlafly
- Re: Confused by salt
- From: clark
- Re: Confused by salt
- From: Roger Schlafly
- Re: Confused by salt
- From: clark
- Re: Confused by salt
- From: ianpiper
- Re: Confused by salt
- From: Roger Schlafly
- Re: Confused by salt
- From: ianpiper
- Re: Confused by salt
- From: clark
- Re: Confused by salt
- From: clark
- Re: Confused by salt
- From: ianpiper
- Re: Confused by salt
- From: clark
- Re: Confused by salt
- From: ianpiper
- Re: Confused by salt
- From: Roger Schlafly
- Re: Confused by salt
- From: Roger Schlafly
- Re: Confused by salt
- From: clark
- Re: Confused by salt
- From: Roger Schlafly
- Re: Confused by salt
- Prev by Date: Speeding up the finite fields multiplications to increase ECC efficiency
- Next by Date: Re: Confused by salt
- Previous by thread: Speeding up the finite fields multiplications to increase ECC efficiency
- Next by thread: Re: Confused by salt
- Index(es):
Relevant Pages
|
|