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

Re^3: Simple Crypt::CBC Sample?

by toolic (Bishop)
on Feb 14, 2013 at 20:38 UTC ( #1018786=note: print w/ replies, xml ) Need Help??

in reply to Re^2: Simple Crypt::CBC Sample?
in thread Simple Crypt::CBC Sample?

A look at the source code shows it may be doing a require:

unless (ref $cipher) { # munge the class name if no object passed $cipher = $cipher=~/^Crypt::/ ? $cipher : "Crypt::$cipher"; $cipher->can('encrypt') or eval "require $cipher; 1" or croak "C +ouldn't load $cipher: $@"; # some crypt modules use the class Crypt::, and others don't $cipher =~ s/^Crypt::// unless $cipher->can('keysize'); }

Comment on Re^3: Simple Crypt::CBC Sample?
Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others pondering the Monastery: (3)
As of 2015-11-28 05:55 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (738 votes), past polls