You Now Here »

[new] MS-Encryptor beta 1.0  (Read 2387 times - 54 votes) 

DANNY

G-Plus Author
  • ADMINISTRATOR
  • More Share Forum Topic
  • [MS] kepala suku
  • *
  • DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!
  • Rep Power: 6
  • Join: September 30, 2009
  • Posts: 11,931
  • Poin: 193.939
    • WWW
  • IP member tracker Logged
[new] MS-Encryptor beta 1.0
« on: April 02, 2010, 10:40:13 AM »


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



  :beer:

source code nye nih

Quote
Code: [Select]
<?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); 

?>


View Mobile Web Short URL:
« Last Edit: April 05, 2010, 07:45:48 PM by admin_danny »

DANNY

G-Plus Author
  • ADMINISTRATOR
  • More Share Forum Topic
  • [MS] kepala suku
  • *
  • DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!
  • Rep Power: 6
  • Join: September 30, 2009
  • Posts: 11,931
  • Poin: 193.939
    • WWW
  • IP member tracker Logged
Re: [new] MS-Encryptor beta 1.0
« Reply #1 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

jipan shinigami

Re: [new] MS-Encryptor beta 1.0
« Reply #2 on: April 02, 2010, 11:49:55 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....
« Last Edit: April 02, 2010, 12:59:42 PM by jipan shinigami »

DANNY

G-Plus Author
  • ADMINISTRATOR
  • More Share Forum Topic
  • [MS] kepala suku
  • *
  • DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!DANNY sangat terkenal!
  • Rep Power: 6
  • Join: September 30, 2009
  • Posts: 11,931
  • Poin: 193.939
    • WWW
  • IP member tracker Logged
Re: [new] MS-Encryptor beta 1.0
« Reply #3 on: April 02, 2010, 09:15:21 PM »
#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...

anak_mami

Re: [new] MS-Encryptor beta 1.0
« Reply #4 on: April 03, 2010, 12:32:08 AM »
#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?...

jipan shinigami

Re: [new] MS-Encryptor beta 1.0
« Reply #5 on: April 04, 2010, 11:41:42 AM »
/1?2#4?4/4?5 #3/1?2#6? #1?1/1?2#1?1/2?3#6? #4/3?4#2?2#2?2 #7?7/1?2#2?2/4?5 #4/5?6#7?7 #3?3/2?3#3?3/2?3#4?4..... #6/4?5#6/4?5#6/4?5#6/4?5#6/4?5#6/4?5.... :ngikik:ngikik:ngikik