in reply to Re^2: Calculating CRC8 using Digest::CRC
in thread Calculating CRC8 using Digest::CRC

Just to be really, really clear about the point that Athanasius is making...
The two character string '7A' consists (in ASCII) in the hex bytes 0x37 and 0x41 (the characters '7' and 'A' respectively). OTOH, it is possible to have a single character ASCII string that consists in the single hex byte 0x7A (the character 'z').
In the example you give in your OP, which is which?

  • Comment on Re^3: Calculating CRC8 using Digest::CRC

Replies are listed 'Best First'.
Re^4: Calculating CRC8 using Digest::CRC
by jedikaiti (Hermit) on Jun 07, 2012 at 20:49 UTC

    Y'all are right, and this is why I probably should have waited until morning (or at least after dinner) to post my question... :-)

    It is not a string (I reverted to plain English, not Computer English) - 7A......0 *is* the hex.

    Mea culpa, sorry I wasn't clearer.
    Kaiti
    Swiss Army Nerd