perlgoon has asked for the wisdom of the Perl Monks concerning the following question:
I'll probably get murdered for asking this but I'm not sure where else to look. I'm using Crypt::CBC in conjunction with Crypt::OpenSSL::AES on a 64-bit CentOS box... I'm trying to determine if in fact the resulting encoding is 256 opposed to 128 bit.
my $cipher = Crypt::CBC->new( -key => '1234567890123456', -cipher => 'Crypt::OpenSSL::AES', -header => 'none', -iv => '6543210987654321' );
I realize that by passing a 'key' rather than a 'literal_key', CBC will take that and compute an MD5 hash for the literal key used with AES ... I'm just not positive what bit length that is. Basically I need to prove one way or another that I'm using AES128 or AES256... and I'm at a loss where to confirm that.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Determine Encryption Strength - Crypt::CBC & OpenSSL::AES
by roboticus (Chancellor) on Aug 30, 2013 at 00:44 UTC | |
|
Re: Determine Encryption Strength - Crypt::CBC & OpenSSL::AES
by flexvault (Monsignor) on Aug 30, 2013 at 13:46 UTC | |
by Anonymous Monk on Aug 30, 2013 at 16:12 UTC |