I program in another language, not php and I'm also running a Drupal site on the same server. I'd like to create a Drupal account for my users so that their same login will work with both websites. I can go ahead and write a script to enter all the correct information into the Drupal database no problem, my question is, will that work? is there anyone who has done this?

What about the password field? I can't use plain text.. any hints on how to encrypt the password to the same specs as Drupal?

Thanks a lot.