boat73 has asked for the wisdom of the Perl Monks concerning the following question:
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 |