View Single Post
Old 09-14-2004, 04:02 PM   #175
alexstapleton
Enthusiast
alexstapleton doesn't litteralexstapleton doesn't litter
 
Posts: 49
Karma: 123
Join Date: Jun 2004
please check my above ASM with bits o PHP stuck in for mistakes please

No idea if this gives the right output or not but easier to read.

$p is called so because the 4th char should almost always p
$w is called so because the 8th char should not quite almost always be w

e.g. http://www

capiche?

ive converted this to high level somewhat

PHP Code:
function Mutate($url$BJHash) {
    
$p $url[3];
    
$rem = ($p%13);

    
$w $url[7];
    
$w $w/7;
    
$rem $rem 7;

    
$rem_shl = ($rem << 2);
    
$mut $rem_shl $rem;
    
    return 
$mut;


Last edited by alexstapleton; 09-14-2004 at 04:31 PM.
alexstapleton is offline   Reply With Quote