Skip to content

Commit

Permalink
Testing provider salt generation.
Browse files Browse the repository at this point in the history
  • Loading branch information
linickx committed Jun 2, 2011
1 parent 9e4c9d3 commit b1e9aa3
Showing 1 changed file with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions php/setup.php
Expand Up @@ -2,14 +2,19 @@

/**
Set up Instructions
Set up Script.
**/

?>
<html>
<title>Set Up</title>
<body>
Set up Instructions
</body>
</html>
$n = mt_rand();
$randomstring = base_convert($n, 10, 36);
$ProviderSalt = hash('sha256', $randomstring);

echo $ProviderSalt;

#if (!$handle = fopen("./config.php", 'a')) {
# echo "Cannot write file (config.php)";
#}


?>

0 comments on commit b1e9aa3

Please sign in to comment.