optimus
optimus copied to clipboard
Encoding/Decoding on Windows 64Bit machine
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 ;)
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.