hello im trying to get a 8bit hash going in php but i cant seem to get the formating right. using perl it comes out just fine but in php i cant get it to work, im not sure if php defaults to 16bit or 32bit or how to format it for 8bit, but heres the code:
$done = unpack('H2',pack('C',unpack("%8C*", $convert)));
i get some weird results trying to do this in php in several ways with no luck. any help would be appreciated.