From: Fred Ingham (fningham@xxxxxxxxxxxxxxxx)
Date: Thu Feb 24 2000 - 14:46:25 GMT-3
   
The other replies give you the method using binary and this
works.  I use a shortcut that involves a nibble table by
observing that 0x1 translates to 0x8 etc.:
        0x1 <-> 0x8     0x6 <-> 0x6
        0x2 <-> 0x4     0x9 <-> 0x9
        0x3 <-> 0xc     0xf <-> 0xf
        0x5 <-> 0xa     0x0 <-> 0x0
        0x7 <-> 0xe
        0xb <-> 0xd
Using one of the examples:  00-d0-97-85-88-00
Substitute the table value: 00-b0-e9-1a-11-00
Swap the nibbles:           00-0b-9e-a1-11-00
This works canonical to non-canonical or vice-versa.
And can be used by those who are hex impaired.
HTH, Fred.
> Tony Olzak wrote:
>
> How do you convert from one to the other?  All I have is a chart, but
> that does me no good in the lab.
>
>
> Tony
>
This archive was generated by hypermail 2.1.4 : Thu Jun 13 2002 - 08:25:29 GMT-3