RE: One-way hash with Salt
From: Jeff Qiu (jefffqiu@online.microsoft.com)
Date: 01/06/03
- Next message: Luis Serpa: "Re: Help Urgent"
- Previous message: Wade: "Instant Messenger BLOCK"
- In reply to: paul reed: "One-way hash with Salt"
- Next in thread: paul reed: "Re: One-way hash with Salt"
- Reply: paul reed: "Re: One-way hash with Salt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
From: jefffqiu@online.microsoft.com (Jeff Qiu) Date: Mon, 06 Jan 2003 08:34:44 GMT
Hi Paul,
Generally, a one-way hash function has many names. Among them are message
digest, fingerprint, and compression function. A hash function is an
algorithm that takes a variable-length string as the input and produces a
fixed-length binary value (hash) as the output. The tricky part is to make
this process irreversible, that is, finding a string that produces a given
hash value should be very hard (hence the word "one-way"). It should also
be hard to find two arbitrary strings that produce the same hash value.
Both the client and server side will have the fixed hash value to do the
hash function. The one-way refer to the process of the hash, not the
digital signed process.
You may refer to the following KB about the client authentication process
during the Secure Sockets Layer (SSL) handshake.
http://support.microsoft.com/default.aspx?scid=KB;EN-US;257586
Regards,
Jeff Qiu
jefffqiu@online.microsoft.com
Online Support Professional
Microsoft Corporation
This posting is provided Ħ°AS ISĦħ with no warranties, and confers no
rights.
--------------------
>From: "paul reed" <prreed@jacksonreed.com>
>Subject: One-way hash with Salt
>Date: Sun, 5 Jan 2003 16:12:37 -0800
>microsoft.public.win2000.security
>
>I was recently directed to an article about endryption of passwords and the
>acknowledgement that it is best to use a one-way has with a strong random
>number as the salt to generate it.
>
>I must be missing something...because how does the one way hash work? Here
>is the scenario as I understand it:
>
>1. user sets themselves up and assigns their pwrd. Instead of encrypting
the
>pwd (which requires that I secure the key used to enrypt it)...I create a
>one-way hash and use this to store the pwd in the db. Since a random number
>is used to generate the hash...how is it on subsequent access by the
>client...am I able to generate the same hash value from the pwd they supply
>at login...since I would getting a different random number to compute the
>hash? Seems to me they would never match.
>
>I am sure I am missing something here.
>
>Regards,
>
>Paul Reed
>
>
>
- Next message: Luis Serpa: "Re: Help Urgent"
- Previous message: Wade: "Instant Messenger BLOCK"
- In reply to: paul reed: "One-way hash with Salt"
- Next in thread: paul reed: "Re: One-way hash with Salt"
- Reply: paul reed: "Re: One-way hash with Salt"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|