Beefy Boxes and Bandwidth Generously Provided by pair Networks
We don't bite newbies here... much
 
PerlMonks  

Re: port a function from php

by Crackers2 (Parson)
on Dec 10, 2013 at 16:21 UTC ( #1066456=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    print "^:" . strlen($password ^ substr($enc_text, 0, $iv_len)) . "\n";
    
  2. or download this
    for ($x=0; $x<$iv_len; $x++) { printf("%02x ", ord(substr($enc_text,$x
    +,1))); }
    print "\n";
    ...
    print "\n";
    for ($x=0; $x<$iv_len; $x++) { printf("%02x ", ord(substr($password,$x
    +,1))^ord(substr($enc_text,$x,1))); }
    print "\n";
    
  3. or download this
    5c 79 e1 71 1c cc ba 8e b7 46 aa 99 99 bc 56 d6
    74 65 73 74 00 00 00 00 00 00 00 00 00 00 00 00
    28 1c 92 05 1c cc ba 8e b7 46 aa 99 99 bc 56 d6
    
  4. or download this
    sub md5_decrypt
    {
    ...
        #$plain_text =~ s/\x13\x00*$//;
        return $plain_text;
    }
    

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1066456]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others meditating upon the Monastery: (2)
As of 2021-12-04 08:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    R or B?



    Results (30 votes). Check out past polls.

    Notices?