i am using SHA1 so i want to convert the output of this SHA1 to integer
A:
How about
echo preg_replace("/[^0-9]/i", "", sha1("apikot"));
Andrei Serdeliuc
2009-11-09 07:16:17
A:
You could represent 160 bits in 5 long ints. That could be an array of 5 long ints, or you could have it be an array of 10 short ints. Are you trying to make it easier to handle than a string of characters/bits?
mahboudz
2009-11-09 09:27:44