linuxfan has asked for the wisdom of the Perl Monks concerning the following question:
I have encrypted text that is stored as a hex string in a variable. How do I get back the original encrypted string using pack/unpack?
I tried
However, the above does not give me the encrypted string. What is the right format that I should supply to pack so I can get back the encrypted string?my $str = "639D879F224CA2A1BA73CC4884DBD362"; pack 'H*',$str;
Thanks a lot!
|
|---|