DONJUAN FORUM COMMUNITY ALL IN ONE BASIC

**SELAMAT DATANG DI DONJUAN COMMUNITY FORUM ALL IN ONE**

Silahkan Registrasi & Login untuk Akses penuh ,
Terima kasih atas Kunjungan-nya
DONJUAN FORUM COMMUNITY ALL IN ONE BASIC


    SCRIPT MEMBUAT ENCRYPT - DESCRYPT HTML ONLINE

    Share

    TriLLianT

    Jumlah posting : 33
    Points : 87
    Reputation : 1
    Join date : 13.12.10
    Age : 30
    Lokasi : semarang

    SCRIPT MEMBUAT ENCRYPT - DESCRYPT HTML ONLINE

    Post  TriLLianT on Tue 08 Mar 2011, 04:48

    Code:
    <html><title>Encrypt Decrypt HTML</title>
    <head>
    <center><blink>[b][ ROCK AREA ][/b]</blink></center></head><body>

    <center><script language="JavaScript">
    // Web Site: [url=http://www.masbugie.com/]http://www.masbugie.com/[/url]
    var letters =
    'ghijklabvwxyzABCDEFef)_+|<>?:mnQRSTU~!@#$%^VWXYZ`1234567opGHIJKLu./;'+"'"+'[]MNOP890-='+'\'+'&*("{},cdqrst
     '+"\n";var split = letters.split("");var num = '';var c = '';var
    encrypted = '';function encrypt(it){var b = '0';var chars =
    it.split("");while(b<it.length)      {c =
    '0';while(c<letters.length){if(split[c] == chars[b]){if(c == "0") { c
     = ""; }if(eval(c+10) >= letters.length){num =
    eval(10-(letters.length-c));encrypted += split[num];}else{num =
    eval(c+10);encrypted +=
    split[num];}}c++;}b++;}document.forms[0].data.value =
    encrypted;encrypted = '';}function decrypt(it){var b = '0';var chars =
    it.split("");while(b<it.length){c =
    '0';while(c<letters.length){if(split[c] == chars[b]){if(c == "0") { c
     = ""; }if(eval(c-10) < 0){num =
    eval(letters.length-(10-c));encrypted += split[num];}else{num =
    eval(c-10);encrypted +=
    split[num];}}c++;}b++;}document.forms[0].data.value =
    encrypted;encrypted = '';}
    // -->
    </script>
    <form>
    <textarea cols="70" name="data" rows="13" wrap="virtual"></textarea>
    <br/>
    <input onclick="encrypt(document.forms[0].data.value)" type="BUTTON" value="Encrypt" />
    <input onclick="decrypt(document.forms[0].data.value)" type="BUTTON" value="Decrypt" /></form></center></body></html>

    Simpan script tersebut dengan format .html atau .php, kemudian upload di hosting kalian

    Contoh : [You must be registered and logged in to see this link.]

      Waktu sekarang Sun 11 Dec 2016, 16:54