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');