pastebin - collaborative debugging tool
kpaste.net RSS

Difference between
modified post 2ee4 by Anonymous on Sat 20th Nov 2021 07:12
original post 516b03a2c by Anonymous on Fri 13th Aug 2021 13:00
Download diff
Show old version | new version | both versions

    
11
<?php
22
	$key = md5('ISCC');
33
	$str = base64_decode('fR4aHWwuFCYYVydFRxMqHhhCKBseH1dbFygrRxIWJ1UYFhotFjA=');
44
	$klen = strlen($key);
55
	$len = strlen($str);
66
	$x = 0;
77
	for ($i=0; $i < $len; $i++) {
88
        	if ($x == $klen){
99
			$x = 0;
1010
        	}
1111
        	$char .= $key[$x];
1212
        	$x+=1;
1313
    	}
1414
	for($i = 0; $i < $len; $i ++){
1515
		$data .= (ord($str[$i])-ord($char[$i]))>0?chr(ord($str[$i])-ord($char[$i])):chr(ord($str[$i])-ord($char[$i])+128);
1616
	}
1717
	print($data);
1818
?>

Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.

Syntax highlighting:

To highlight particular lines, prefix each line with {%HIGHLIGHT}




All content is user-submitted.
The administrators of this site (kpaste.net) are not responsible for their content.
Abuse reports should be emailed to us at