Create user programatically after e-mail verification
you don't get private keys from the database because Drupal doesn't store them. 

try looking up in settings.php for the $drupal_hash_salt variable. that's the one used to encode/decode strings. 

hope this helps. 

cheers