Hello,<br><br>The password in Drupal is generated via MD5 function which is a default in PHP.<br>Apart from the password, there is nothing that gets added to the password.<br>You can check function user_save in user module, which directly sends the value in md5 format, that will provide you some more clarity.<br>

<br>I think you are talking of a SALT value that gets added, but this is not the case in drupal 6, as it is using MD5<br>However, in Drupal 7, SALT is used and MD5 is not followed to save the passwords.<br><br><div class="gmail_quote">

On Wed, Mar 16, 2011 at 5:09 AM, prothero <span dir="ltr">&lt;<a href="mailto:prothero@geol.ucsb.edu">prothero@geol.ucsb.edu</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">

<div style="word-wrap: break-word;">I am going to manipulate the Drupal users table externally. I know that the password in Drupal 6 is generated as an md5 hash, but I&#39;m wondering what the input to the md5 function is. Obviously, it includes the password, but what else?<div>

Tnx,</div><div>Bill</div><div><br><div><br><div> <span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">

<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div style="word-wrap: break-word;">

<span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><span style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 14px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><p style="margin: 0px;">

<font style="font-size: 12px;" face="Helvetica" size="3"><span style="font-size: 12px;"><span style="font-size: 12px;"><span style="font-size: 12px;">William A. Prothero</span></span></span></font></p><p style="margin: 0px;">

<span style="font-size: 12px;"><a href="http://earthednet.org/" target="_blank">http://earthednet.org/</a></span></p><br></span></span></span></span><br></div></span></div></span> </div><br></div></div></div><br>--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br></blockquote></div><br><br clear="all"><br>-- <br>Regards,<br>Vaibhav Jain<br>