Note:
This extension is obsoleted by Hash.
I thought I would post this here as it took me a few minutes to find out.
Note:
This extension is obsoleted by Hash.
I thought I would post this here as it took me a few minutes to find out.
You can use:
$s = 'foo';
echo pack('H*', hash('md4', $s));