Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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?
[Corion]: I'd like a well-tempered tuning
[Corion]: thezip: :D
[erix]: haha
[thezip]: Perhaps one of the most obnoxious things on earth is a poorly tuned piano. I will not even listen to one.

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (5)
As of 2017-11-17 19:09 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    In order to be able to say "I know Perl", you must have:













    Results (270 votes). Check out past polls.

    Notices?