You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i am using your api and it is really good but there is only one problem and i need solution urgent. your PHP and OBjECTIVE C api is not giving me same result with same salt. i have tried OBJECTIVE C , JAVA , .NET and they are generating same result but PHP is not generating same result. HELP NEEDED.
PHP :-
require_once(__DIR__.'/../lib/Hashids/Hashids.php');
$hashids = new Hashids\Hashids('this is my salt');
$id = $hashids->encode(1,2,3);
$numbers = $hashids->decode($id);
var_dump($id, $numbers);
exit;
I replied to your email, PHP version is 1.0, and Objective-C is 0.3. There's a compatibility table here: http://hashids.org/#compatibility. We're in the process of updating all libraries to 1.0
Hello Ivan,
i am using your api and it is really good but there is only one problem and i need solution urgent. your PHP and OBjECTIVE C api is not giving me same result with same salt. i have tried OBJECTIVE C , JAVA , .NET and they are generating same result but PHP is not generating same result. HELP NEEDED.
PHP :-
giving result after encoding is "laHquq".
OBJECTIVE C:-
giving result after encoding is "eGtrS8".
See both results are not same after encoding . i know PHP api has bug. Please help me out. i waiting for your reply
Thanks
The text was updated successfully, but these errors were encountered: