we are making a few web services for a Drupal 7 based websites. in that webservice, one task is to sign up new users on that website.
the only main issue at the moment for this task is to access the drupal hash function in a php code file that is not inside the drupal's installation directory.
any guidance on how to achieve this will be highly appreciated.