Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister

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?

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://956075]
[erix]: isn't a texty format handier for configs?
[Corion]: So far, I've avoided having even a user database by storing the user information in a (signed) cookie that the browser keeps for me, but as I want to be able to lock users, I need a second storage option :)
[Corion]: erix: It's needed for keeping the list of users and the list of tags associated with an image, and for keeping the images with users. I want an easy way to know if an image can be deleted, which means that it can't be referenced by any tag anymore. ...
[Corion]: SQL feels like a natural choice here :)

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (12)
As of 2018-03-20 14:10 GMT
Find Nodes?
    Voting Booth?
    When I think of a mole I think of:

    Results (253 votes). Check out past polls.