Ensures the private key variable used to generate tokens is set.
The private key.
function drupal_get_private_key() {
if (!($key = variable_get('drupal_private_key', 0))) {
$key = drupal_random_key();
variable_set('drupal_private_key', $key);
}
return $key;
}