Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Crypt::CBC how does the header/salt work?

by Anonymous Monk
on Nov 19, 2012 at 14:55 UTC ( #1004555=perlquestion: print w/ replies, xml ) Need Help??

Help for this page

Select Code to Download


  1. or download this
    #!/usr/bin/perl
    
    ...
    my $plaintext  = $cipher->decrypt_hex($ciphertext);
    
    print "$ciphertext\n$plaintext\n";
    
  2. or download this
    $ perl t.pl
    53616c7465645f5f27aad01783d47f045a963683bb06e3aa959fc83d7c94e1f5aad894
    +d37c8df0d93abaaa80fb9e073b9555761f85204457
    ...
    $ perl t.pl
    53616c7465645f5fda138a9a74e5c8c3081430fd3b895de307c1c303fbf48afa2d12bd
    +8c7097d2a3d600819f4c46fb16702536e97d27211c
    This data is hush hush blah blah
    

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: perlquestion [id://1004555]
Approved by ww
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others perusing the Monastery: (3)
As of 2014-07-28 05:42 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    My favorite superfluous repetitious redundant duplicative phrase is:









    Results (186 votes), past polls