# Re: Cohen's paper on byte order

**From:** Mok-Kong Shen (*mok-kong.shen@t-online.de*)

**Date:** 04/21/03

**Next message:**jsavard@ecn.ab.ca: "Finger Crossing Good"

**Previous message:**Tom St Denis: "Re: Tuning Karatsuba in LibTomMath"**In reply to:**Mok-Kong Shen: "Re: Cohen's paper on byte order"**Next in thread:**Douglas A. Gwyn: "Re: Cohen's paper on byte order"**Messages sorted by:**[ date ] [ thread ] [ subject ] [ author ] [ attachment ]

From: Mok-Kong Shen <mok-kong.shen@t-online.de> Date: Mon, 21 Apr 2003 14:43:46 +0200

Mok-Kong Shen wrote:

*>
*

[snip]

*> (3) According to common convention, groups of bits
*

*> can be designated in the hexadecimal notation, so e.g.
*

*> '010' can be written as the hex '2'. Thus the user
*

*> can choose to express his key in the hexadecimal
*

*> notation, obtaining a sequence of hex digits, again
*

*> written left to right, with the first hex digit
*

*> corresponding to the first three bits of the original
*

*> bit sequence, etc. Is that o.k.? Note that the
*

*> hex digits are to be obtained from the bit sequence
*

*> in strict sequential order from left to right. In
*

*> particular, there is no swapping of hex digits, nor
*

*> swapping of any larger units (e.g. groups of two hex
*

*> digits).
*

[snip]

Sorry for a (surely evident) error/typo. A hex digit

represents four bits and not three. The correction

to the above needed is certainly clear.

M. K. Shen

**Next message:**jsavard@ecn.ab.ca: "Finger Crossing Good"

**Previous message:**Tom St Denis: "Re: Tuning Karatsuba in LibTomMath"**In reply to:**Mok-Kong Shen: "Re: Cohen's paper on byte order"**Next in thread:**Douglas A. Gwyn: "Re: Cohen's paper on byte order"**Messages sorted by:**[ date ] [ thread ] [ subject ] [ author ] [ attachment ]