Re: Cross platform password string encryption
- From: Mike Amling <nospam@xxxxxxxxxx>
- Date: Sat, 26 Aug 2006 12:43:11 -0500
pegguru@xxxxxxxxx wrote:
Ozzker wrote:
Platforms: different microprocessors use different schemes for
handling memory. For example, some processors are "big-endian": when
they store a 16-bit integer (in two consecutive memory locations), they
put the 8 most significant bits in the lower address and the least
significant bits in the higher address - same thing if they write the
16-bit integer to disk. Other processors are "little-endian": they
put the 8 least significant bits in the lower address and the most
significant bits in the higher address - again, same thing if they
write the 16-bit integer to disk. You can imagine what happens if a
little-endian processor reads a file of integers created by a
big-endian processor.
[NB: I may have gotten the "little-endian/big-endian" definitions
backwards - I consumed way too much sugar last night and really need
some programmer candy (aspirin).]
Your definitions are the conventional ones.
As computer science moves into more abstract concepts, I find that many
young programmers have very little concept of what happens at the
microprocessor level.
Too true.
--Mike Amling
.
- References:
- Cross platform password string encryption
- From: Zief
- Re: Cross platform password string encryption
- From: Ozzker
- Re: Cross platform password string encryption
- From: pegguru
- Cross platform password string encryption
- Prev by Date: Re: Cross platform password string encryption
- Next by Date: CCM bugs in LibTomCrypt
- Previous by thread: Re: Cross platform password string encryption
- Next by thread: CCM bugs in LibTomCrypt
- Index(es):