Permalink
Browse files

Who left this uncomment code here? Oh, right, I did.

  • Loading branch information...
1 parent 62ca7be commit 9c5e45a2fbb3a4e5f7ca690fddadebf75aeb1aa9 @ChiperSoft committed Mar 24, 2012
Showing with 14 additions and 1 deletion.
  1. +14 −1 classes/Primal/SaltedHash.php
@@ -1,4 +1,15 @@
<?php
+
+/**
+ * Primal SaltedHash
+ *
+ * Data model for hashing passwords with a blowfish salt.
+ *
+ * @package Primal
+ * @author Jarvis Badgley
+ * @copyright 2008 - 2012 Jarvis Badgley
+ */
+
namespace Primal;
class SaltedHash {
@@ -22,8 +33,10 @@ function compare($password) {
}
+/*
$sh = new SaltedHash();
$hash = $sh->hash('admin');
$sh = new SaltedHash($hash);
-var_dump($hash, $sh->compare('admin'));
+var_dump($hash, $sh->compare('admin'));
+*/

0 comments on commit 9c5e45a

Please sign in to comment.