All pastes #496786 Raw Edit

Something

public php v1 · immutable
·published 2007-05-19 13:34 UTC
rendered paste body
<?phpsrand((double)microtime()*1000000);function trip($cap){	$salt=substr($cap."H.",1,2);	$salt=ereg_replace("[^\.-z]",".",$salt);	$salt=strtr($salt,":;<=>?@[\\]^_`","ABCDEFGabcdef");	return substr(crypt($cap,$salt),-10);}$tripchars = " !#$%()*+-./0123456789:;=?ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~&";$asdf = $tripchars[rand()%88];$fdsa = $tripchars[rand()%88];while(1){	$trip[0] = $tripchars[rand()%88];	$trip[1] = $asdf;	$trip[2] = $fdsa;	for($i=3;$i<7;$i++){$trip[$i] = $tripchars[rand()%89];}	$trip[7] = $tripchars[rand()%89];	$tripout = "";	foreach($trip as $lol){		$tripout .= $lol;	}	echo $tripout." = ".trip($tripout)."\n";}?>