boat73 has asked for the wisdom of the Perl Monks concerning the following question:
I have read docs and must be having a bad day. I have done some PGP encryption so maybe my understanding of the keys is mixing me up. I am just trying to get a snippet working using Crypt::CBC. What am I doing wroong, I am getting the error below. Any help is appreciated!
Couldn't load Crypt::2238215281: Can't locate Crypt/2238215281.pm
use Crypt::CBC; use Crypt::Random qw( makerandom ); $key = makerandom( Size => 32, Strength => 1); my $cipher = Crypt::CBC->new( -key => $key ); my $ciphertext = $cipher->encrypt_hex('test');
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Simple Crypt::CBC Sample?
by toolic (Bishop) on Feb 14, 2013 at 20:14 UTC | |
by boat73 (Scribe) on Feb 14, 2013 at 20:19 UTC | |
by toolic (Bishop) on Feb 14, 2013 at 20:38 UTC | |
by toolic (Bishop) on Feb 14, 2013 at 20:30 UTC | |
Re: Simple Crypt::CBC Sample?
by naChoZ (Curate) on Feb 14, 2013 at 22:24 UTC | |
Re: Simple Crypt::CBC Sample?
by Anonymous Monk on Feb 15, 2013 at 17:12 UTC |
Back to
Seekers of Perl Wisdom