Re: 8 Bit Random Numbers



On Feb 3, 9:59 am, nos...@xxxxxxxxxx wrote:

What part of

"A linear feedback shift register (LFSR) is a shift
register whose input bit is a linear function of its
previous state. The only linear functions of single
bits are xor and inverse-xor..."

are you having trouble understanding?


I'm having trouble with the linear part. From what I understand a
linear output would suggest an equal number of ones and zeros over a
long period of time, or about 1024 of each for an 8 bit register
during each complete cycle. This is the case for Fields circuit using
the extra 7 input nor, and extra xor.

The standard LFSR with the missing "0" state yields 1024 "ones" but
only 1016 "zeros" for each complete cycle, since 8 zeros are left out.

So, which approach would you say is more linear?

BTW, for most applications a standard Galois LFSR is superior
to what Fields posted. When implemented using logic gates,
The XOR gates are run in parallel rather than in serial,
reducing propagation delay and allowing for faster cycling.
When implemented in software, it is is more efficient
because the XOR can computed a word at a time. Code it or
breadboard it and see.

Yes, I know about that, but haven't figured out the exact 8 bit word
to xor against the 8 bit random word in a parallel fashion to get the
desired result. Maybe you know what it is?

-Bill
.



Relevant Pages

  • Re: Help me sort though some complex math
    ... Such an operation on bytes is called linear mixing and its goal is ... What is a liner map between two GFvector spaces of 128 dimensions? ... again with addition corresponding to XOR. ... bitstrings to other 128-bit bitstrings which is compatible with vector ...
    (sci.math)
  • Re: Paper & pencil password algorithm
    ... Sure, addition alone is linear. ... This non-linear quality must be something a bit deeper than I ... might treat them as elements of a Galois field, ... again just happens to correspond to XOR. ...
    (sci.crypt)
  • Re: building boolean gates
    ... linear gate is 1 with probability 1/2 whereas the output of a non-linear ... the logic function looks like this: w = OR AND s) ... It is not possible to implement it with XOR and NOT, ...
    (sci.electronics.design)
  • Re: Simple Sagnac
    ... In the frame of the train, ... > |> There is no linear relationship between t and tau and you've ... > |> cuckoo transforms are linear? ... > | A linear function of two variables is the sum of a constant times ...
    (sci.physics.relativity)
  • Does Carolyn onwards wind the combination?
    ... Some giant specific pole earns arrests once again Pat's linear ... risk. ... register. ...
    (sci.crypt)