Skip to content

Commit e38b152

Browse files
committed
Change the way to encrypt string
1 parent bb9c767 commit e38b152

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/JSONDB/Util.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,6 @@ class Util
5959
*/
6060
public static function crypt($string)
6161
{
62-
return crypt(sha1($string), self::$cryptSalt);
62+
return sha1($string . self::$cryptSalt);
6363
}
6464
}

0 commit comments

Comments
 (0)