Beefy Boxes and Bandwidth Generously Provided by pair Networks
"be consistent"
 
PerlMonks  

Re: Perl Cipher & questions on semantics/layout optimisation.

by repellent (Priest)
on Feb 25, 2012 at 07:43 UTC ( [id://956075]=note: print w/replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    $offsetpattern .= chr((ord(@karray[i])+ord(@karray[i2])+ ord($offset2[
    +$i % length($key)]))%256);
    
  2. or download this
    my @karray = map ord, (split //, $key);
    
  3. or download this
    my @karray = map ord, (split //, $key);
    my $len = length($key);
    ...
    # prints true for both
    print "true" if $len == @karray;
    print "true" if $len-1 == $#karray;
    

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (6)
As of 2024-03-29 09:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found