(View Original Web?)

WILAYAH ADMIN > WELCOME

[new] MS-Encryptor beta 1.0


(Page 1 of 2) >  >>
ada tugas kampus...
suruh bikin encryption...

ya sekalian aje ane publikasiin, hehehehe...
sayang2 kalo disimpen sendiri....

menggunakan metode substitusi
ada bugs or error... mohon lapor disini
silakan dicoba..
nih TKP : http://encryptor.ms-room.com

thanx alot





 

source code nye nih

Quote
Code:
<?php 

$text 
= &#39;A secret.&#39;; 

if(!isset($chars)) 

    
// 3 different symbols (or combinations) for obfuscation 
    // these should not appear within the original text 
    
$sym = array(&#39;¶&#39;, &#39;¥xQ&#39;, &#39;|&#39;); 

    
foreach(range(&#39;a&#39;,&#39;z&#39;) as $key=>$val) 
        
$chars[$val] = str_repeat($sym[0],($key 1)).$sym[1]; 
    
$chars[&#39; &#39;] = $sym[2]; 

    
unset($sym); 


// encrypt 
function encrypt($data

    
$data strtr(strtolower($data), $GLOBALS[&#39;chars&#39;]); 
    
return $data


// decrypt 
function decrypt($data

    
$charset array_flip($GLOBALS[&#39;chars&#39;]); 
    
$charset array_reverse($charsettrue); 

    
$data strtr($data$charset); 
    unset(
$charset); 
    return 
$data


$text encrypt($text); 
echo &
#39;encrypted: &#39;.$text.&#39;<br />&#39;; 
// echo &#39;decrypted: &#39;.decrypt($text); 

?>
test:

#6/1?2#2?2/5?6/5?6/5?6/5?6/5?6/5?6#4?4? #5?5/1?2#7?7/1?2 #7/3?4#7?7/1?2#5/1?2#4?4... #4?4/1?2#6/1?2#6/1?2#6/1?2#6/1?2
Quote from: admin_danny on April 02, 2010, 10:41:16 AM
test:

#6/1?2#2?2/5?6/5?6/5?6/5?6/5?6/5?6#4?4? #5?5/1?2#7?7/1?2 #7/3?4#7?7/1?2#5/1?2#4?4... #4?4/1?2#6/1?2#6/1?2#6/1?2#6/1?2

#6/4?5#2?2/5?6/5?6/5?6/5?6#4?4? #3?3/2?3#3?3/2?3#4?4.... /4?5#4?4#2?#7?7#6?6?#5?5#2?2/2?3/5?6#4?4-#4?4#6?6/1?2 #1?1/4?5#7?7/4?5#4?4....
Quote from: jipan shinigami on April 02, 2010, 11:49:55 AM
#6/4?5#2?2/5?6/5?6/5?6/5?6#4?4? #3?3/2?3#3?3/2?3#4?4.... /4?5#4?4#2?#7?7#6?6?#5?5#2?2/2?3/5?6#4?4-#4?4#6?6/1?2 #1?1/4?5#7?7/4?5#4?4....

#2?2?#6/1?2#4?4#5?5? #5/1?2#4?4 #3/1?2#6? #3?3/1?2/5?6 #2/5?6#1/1?2... #6/4?5#6/4?5#6/4?5...
#4?4/4?5#4?4?... #2?2/4?5#1?1?#2?2/2?3#4?4#5?-#2?2/4?5#1?1?#2?2/2?3#4?4#5? #7/3?4#7?7/1?2#5/1?2#4?4 #1?1?#3?3/3?4/1?2#6?...
(Page 1 of 2) >  >>

Navigation

Back Sub-Forum

MS-Room.COM Style modify by Danny, Host on moresharehosting.com | TERM OF SERVICE/DMCA/PRIVACY POLICY AGREEMENT
Sitemap: Mobile Web | AMP | Topics | Chord Guitar Indonesia