Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Encoding/Decoding on Windows 64Bit machine #13

Open
NicolasDucom opened this issue Nov 1, 2015 · 1 comment
Open

Encoding/Decoding on Windows 64Bit machine #13

NicolasDucom opened this issue Nov 1, 2015 · 1 comment

Comments

@NicolasDucom
Copy link

Hi Jens,
I'm currently trying out Optimus on a Windows 64Bit Machine with Laravel 5.1.20 and am having a bit of trouble decoding my numbers :

PRIME=1580030173
INVERSE=59260789
RANDOM=1163945558

1=>458047115=>0
2=>2033899500=>0
3=>1609067713=>4
4=>1037370658=>0
5=>327342599=>0
6=>1886417784=>8
7=>1448937565=>8
8=>873111742=>0
9=>184056211=>16
10=>1755651828=>8
11=>1318237993=>12
12=>792742922=>16
13=>221111663=>16
14=>1662696000=>16
15=>1103647397=>15
16=>666233734=>16

Could I be missing something ?
Thanks for the help ;)

@martinml
Copy link

martinml commented Jul 23, 2016

Are you using 64-bit PHP? According to their site, those builds are experimental for anything older than PHP 7. That might be the reason.

I'm seeing correct results in 64-bit Windows with 32-bit PHP 5.6 and the GMP extension.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants