Re: Cross platform password string encryption




Ozzker wrote:
.... snip...
I don't see what programming languages or platforms have to do with it
as long as they implement the same algorithms ..

anyway, regards,
Oz

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).]

Languages: some languages are very specific about how they format and
store various data types. Two such languages need not agree on how to
format and store the same data type. And no language needs to be tied
to a microprocessor's view of a data type (provided the user is willing
to put up with additional processing). Bottom line is that if I write
a program in language X and program the same algorithm in language Y,
even running on the same computer, if I am not very careful in out data
are read from/written to disk, the two programs may not be able to
share data.

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.

.



Relevant Pages

  • Re: Help Constructing Fictional Cross-Religious Movement
    ... >> certainly ill-adapted to do things that OO languages are good at. ... Sometimes referred to as "ADD 1 TO COBOL". ... enough) REPORT-WRITER specifically intended to make writing reports ... >converting it to a C++ data type, which should make the interface slightly ...
    (rec.arts.sf.composition)
  • Re: How to overcome very slight calculation error.
    ... Dim MyNumber As Single ... you can't store, or nor use "real" numbers, as they are a approximates. ... solution in this case is to use decimal number, or a data type of currency. ...
    (microsoft.public.access.modulesdaovba)
  • Fwd: data type for ip addresses
    ... data type for ip addresses ... CHAR, though it isn't the biggest waste of space in this world. ... you could also decide to store it as four fields of SMALLINT. ... Please do not use this email for correspondence. ...
    (comp.databases.informix)
  • Re: How to get around row size limitation
    ... it's really the only way to store> 8k of data in a single ... > I have a table which has a number of large notes columns where users ... > collect large blobs of data (I hardly consider this a blob, ... Do I need to use the nvarchar or text data type and if so, ...
    (microsoft.public.sqlserver.programming)
  • Re: How to get around row size limitation
    ... > - store larger chunks in TEXT columns (which do not count toward row-size, ... >> I have a table which has a number of large notes columns where users ... >> collect large blobs of data (I hardly consider this a blob, ... Do I need to use the nvarchar or text data type and if so, ...
    (microsoft.public.sqlserver.programming)