hey can anyone help me with this

Discussion in 'PHP' started by Yeah, Aug 17, 2009.

  1. #1
    please help
    <?php
    function dajsifru($info1) {
        $query = "info = '$info1'";
     $pass = "64306464626136333135383930323830626635326264386634313362366132323339313164373133316265616334643530353935316636323863316263353036";
        
           $iv_size = mcrypt_get_iv_size(MCRYPT_RIJNDAEL_256, MCRYPT_MODE_ECB);
           $iv = mcrypt_create_iv($iv_size, MCRYPT_RAND);
           $encrypted = hex2bin(hex2bin($pass));
           $decrypted = mcrypt_decrypt(MCRYPT_RIJNDAEL_256, $aid, $encrypted, MCRYPT_MODE_ECB, $iv);
        $pass = trim($decrypted);
    
               echo $pass."<br />pass:!"; 
    }
    ?>
    PHP:

     
    Yeah, Aug 17, 2009 IP
  2. HighRankingSEO

    HighRankingSEO Well-Known Member

    Messages:
    423
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    125
    #2
    are you trying to recover a password?
     
    HighRankingSEO, Aug 17, 2009 IP
  3. shoshin

    shoshin Peon

    Messages:
    24
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    What exactly do you need help with?
     
    shoshin, Aug 17, 2009 IP
  4. kblessinggr

    kblessinggr Peon

    Messages:
    539
    Likes Received:
    13
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Ditto :cool:
     
    kblessinggr, Aug 17, 2009 IP
  5. Yeah

    Yeah Well-Known Member

    Messages:
    865
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    135
    #5
       $encnum = mcrypt_encrypt(MCRYPT_RIJNDAEL_256, $aid, $cnum, MCRYPT_MODE_ECB, $iv);
            $encnum = bin2hex(bin2hex($encnum));
    PHP:
    I need reverse from this, and It should be something like up there
     
    Yeah, Aug 18, 2009 IP