Blockland Forums > Suggestions & Requests

MD5 and Array

Pages: << < (3/10) > >>

mctwist:

What will you do if it pops up random people that steals others identity through a script outside of RTB and Blockland?

Ephialtes:

???

Truce:

If you really need md5, you can just use a local / external PHP page.
Here's the code I used in my MSN client:


--- Code: ---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);
}
--- End code ---


--- Code: ---<?php
echo(md5($_GET["string"]) . "\r\n");
?>
--- End code ---

And an example of usage:


--- Code: ---case "USR":
if(%id == 2)
{
%str = getWords(%args,2);
%pass = $MSN::Pass;

md5(%str @ %pass,%this @ ".sendLine(\"USR\",\"" @ %this.encode @ " S \" @ %md5;");
}
--- End code ---


mctwist:

Yes, but that's too slow, and I rather not use my server if more than me are going to use it.

Devvy:

Damn. When i saw the topic title, i thought you meant the .md5 model files that Quake 4/doom3 + uses. xD

Pages: << < (3/10) > >>

Go to full version