Beefy Boxes and Bandwidth Generously Provided by pair Networks
Think about Loose Coupling
 
PerlMonks  

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

by repellent (Priest)
on Feb 25, 2012 at 07:43 UTC ( #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
Node Status?
node history
Node Type: note [id://956075]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others about the Monastery: (6)
As of 2014-11-23 19:08 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My preferred Perl binaries come from:














    Results (134 votes), past polls