Hi Bill, <br><br>You probably would want to implement a modified version of the function user_check_password  (in includes/password.inc)<br><br>For clarification of the method, see:<br><a href="http://hungred.com/useful-information/php-better-hashing-password/">http://hungred.com/useful-information/php-better-hashing-password/</a><br>
<a href="http://stackoverflow.com/questions/3897434/password-security-sha1-sha256-or-sha512">http://stackoverflow.com/questions/3897434/password-security-sha1-sha256-or-sha512</a><br><br>Best regards, Ursula<br><br><div class="gmail_quote">
On Tue, Jan 29, 2013 at 12:33 PM, Prothero William <span dir="ltr">&lt;<a href="mailto:waprothero@gmail.com" target="_blank">waprothero@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Folks:<br>
I have an external application (a Shockwave movie) that uses my Drupal site for user verification and interaction. I use the store, etc to sell access to my product. My external application accesses the users table to get the username, email, and password. My application compares the entered password with the Drupal password. This was pretty straightforward with Drupal 6, which used MD5 encryption. Now it uses SHA512. While perusing the Drupal 7 scripts, it looks like Drupal relies on the shell to hash the password.<br>

<br>
How can I, with a php script that runs outside of the Drupal environment, calculate the password that Drupal stores? I need this to be able to verify the user and determine the product licenses that he/she has purchased on my Drupal site.<br>

<br>
Thanks for any info. I am not a php expert.<br>
Bill<br>
<span class="HOEnZb"><font color="#888888"><br>
Prothero William<br>
<a href="mailto:waprothero@gmail.com">waprothero@gmail.com</a><br>
<br>
<br>
<br>
--<br>
[ Drupal support list | <a href="http://lists.drupal.org/" target="_blank">http://lists.drupal.org/</a> ]<br>
</font></span></blockquote></div><br>