If you really need md5, you can just use a local / external PHP page.
Here's the code I used in my MSN client:
function md5(%string,%callback)
{
%obj = new HTTPObject(MD5Digest)
{
callback = %callback;
};
%obj.get("192.168.1.222:80","/md5.php?string=" @ %string);
%obj.timeout = %obj.schedule(1000,delete);
}
function MD5Digest::onLine(%this,%md5)
{
eval(%this.callback);
cancel(%this.timeout);
%this.schedule(0,delete);
}
<?php
echo(md5($_GET["string"]) . "\r\n");
?>
And an example of usage:
case "USR":
if(%id == 2)
{
%str = getWords(%args,2);
%pass = $MSN::Pass;
md5(%str @ %pass,%this @ ".sendLine(\"USR\",\"" @ %this.encode @ " S \" @ %md5;");
}