Skip to content
Browse files

rename djb() => djbx33a()

  • Loading branch information...
1 parent 24d3275 commit 0ede762740fdd3aaf9baa14aa565fff7fce8f4e0 @qzio qzio committed
Showing with 4 additions and 4 deletions.
  1. +1 −1 functions.php
  2. +3 −3 generate_send_string.php
View
2 functions.php
@@ -1,5 +1,5 @@
<?php
-function djb($str) {
+function djbx33a($str) {
$h = 5381;
$strlen = mb_strlen($str);
for($i = 0; $i < $strlen; $i++ ) {
View
6 generate_send_string.php
@@ -8,14 +8,14 @@
$workingkeys = array();
$e=0;
-$validKey = djb($keys[0]);
+$validKey = djbx33a($keys[0]);
foreach($keys as $key) {
- if ($validKey == djb($key)) {
+ if ($validKey == djbx33a($key)) {
$workingkeys[] = $key;
} else {
$e++;
}
- echo "$key => ".djb($key)."\n";
+ echo "$key => ".djbx33a($key)."\n";
}

0 comments on commit 0ede762

Please sign in to comment.
Something went wrong with that request. Please try again.