> The function crypt() was designed to be mathematically impossible
> to invert.  That is, you can not find a function uncrypt()
> such that
> 
> uncrypt(crypt(x)) == x

and let me add that crypt(3) actually takes is 2 parameters, a key and a
salt :

crypt(key, salt)

[take a look at the crypt manual na lang]

the salt adds an additional randomness to it ( so that even two users
with the same passwords will not have the same hash....unlike win nt and
lm hashes)

..anyway, the point is, we can't recover the original password....WE
CAN, however obtain a password whose hash is the same as the original.

and that password is good enough.


=)





ramil

--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to