Hi,
actually I have been provided only with the encrypted data and key value and the above syntax i am using for decrypting, but its returning binary coded value whereas i have used hex syntax to decrypt
User Profile
Collapse
Profile Sidebar
Collapse
NeetuG
Last Activity: Sep 20 '17, 09:49 AM
Joined: Sep 13 '17
Location:
-
Getting wrong decrypted value
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);
Last edited by Frinavale; Sep 13 '17, 03:04 PM.
No activity results to display
Show More
Leave a comment: