User Profile

Collapse

Profile Sidebar

Collapse
NeetuG
NeetuG
Last Activity: Sep 20 '17, 09:49 AM
Joined: Sep 13 '17
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • NeetuG
    replied to Getting wrong decrypted value
    in Perl
    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
    See more | Go to post

    Leave a comment:


  • NeetuG
    started a topic Getting wrong decrypted value
    in Perl

    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);
    I am getting...
    See more | Go to post
    Last edited by Frinavale; Sep 13 '17, 03:04 PM.
No activity results to display
Show More
Working...