Code:
my $iv = '0000000000000000'; my $cipher = Crypt::CBC->new( -key => $key, -cipher => "Crypt::OpenSSL::AES", -iv => $iv, -literal_Key => 1, -header => 'none', -padding => 'default' ); $encrypt_decrypt_data = $cipher->decrypt_hex($data);
my $iv = '0000000000000000'; my $cipher = Crypt::CBC->new( -key => $key, -cipher => "Crypt::OpenSSL::AES", -iv => $iv, -literal_Key => 1, -header => 'none', -padding => 'default' ); $encrypt_decrypt_data = $cipher->decrypt_hex($data);
Comment