Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: hexadecimal division

by karlgoethebier (Abbot)
on Dec 16, 2017 at 16:54 UTC ( [id://1205689]=note: print w/replies, xml ) Need Help??


in reply to hexadecimal division

See also String::LRC. Regards, Karl

«The Crux of the Biscuit is the Apostrophe»

perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

Replies are listed 'Best First'.
Re^2: hexadecimal division
by Anonymous Monk on Dec 16, 2017 at 17:16 UTC
    That module calculates the first part of the OP's question (a simple xor checksum), but not the important part.
      The first part is already buggy, cause something like $result == "\x05" not doing what the OP thinks it does.

      Cheers Rolf
      (addicted to the Perl Programming Language and ☆☆☆☆ :)
      Wikisyntax for the Monastery

      "...not the important part."

      Thanks. I didn't read the friendly manual. Regards, Karl

      «The Crux of the Biscuit is the Apostrophe»

      perl -MCrypt::CBC -E 'say Crypt::CBC->new(-key=>'kgb',-cipher=>"Blowfish")->decrypt_hex($ENV{KARL});'Help

        More like "use the source, Luke" in this case. Another poorly documented CPAN module, sigh.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://1205689]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others avoiding work at the Monastery: (3)
As of 2024-03-29 15:54 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found