| Article Check |
Hubs | Hubbers | Topics | Request |
| #1 in Business | Subscribe Email Print |
|
You are here: Home > Reference and Education > Science > Random Number Generators: True Randomness |
|
Article Check - Random Number Generators: True Randomness
Picking The Price That Maximises Profit erators and Linear Feedback Shift Registers:Choosing the right subscription price will determine how profitable your website is.Get the price too low and your costs…..marketing in particular…….will eat into your margin. You could also put people off if the price point gives the perception of low value.Get the price too high……particularly compared to alternative sources of information…. and you will put prospects off.Before giving you some guidelines it is very important to remember:There is nothing to stop you from changing the price to test the market.Many subscription website owners pluck a subscription fee out of the air when they launch their site. Often it’s based on no more than a hunch. They never test whether it is too high or too low to maximise their profit. It is difficult to change the price for a print publication, but not for an online website.Test! Test! Test!There are no hard and fast rules about how much you should charge for access to your website, but here are 20 guidelines to help you work out the perfect price for your subscription: The monthly subscription can be anything from ?1/$2 up to ?1,000/ $1,800. The most common subscription charges fall in the range ?4.99/$4.95 - ?19.99/$19.95.A website with just 1,000 members charging $9.99 a month will generate about $120,000. If this business is run from home, even after costs it could generate a net income of over $100,000 for the individual publisher.It is recommended that publishers offer a choice of payment plans with discounts for members willing to commit for longer periods of time, for example: 9.97 /month, or 24.97 /quarter, or 87.00 /year If you offer three pricing Defined as our non-linear generators, ICGs and EICGs, developed by Eichenauer and Lehn (1986, 1993) are defined by the following congruence: yn+1 = ayn + b (mod m) Where, for practicality, m is also chosen as a prime number in parallel to LCGs. These two generators are most notable due to their speed and period efficiency compromise. They produce relatively long periods, in (5 – 10x average) more time, than LCG. III.i Linear Feedback Shift Registers: LFSR generators are of more relevance here, as a suitable alternative to LCGs for cryptographic applications. Shift registers work on the concept of generating on the bit level, instead of in a base 10 finite field. They address the problem of creating uniform distribution of single random bits, with 0 and 1 equally probable. LFSR generators are made up of two parts, the shift register and the feedback function. The shift register is the bit sequence, in which the size of the shift register is determined by the length of its bits. When bits are needed, the register is shifted 1 bit to the right, and the left bit is computed based on the remaining bits in the register. The simplest method of representing LFSRs feedback function is the XOR of key register bits. The method used by the feedback function is called tap sequence. It’s obvious, that an n-bit LFSR can be in 2n -1 states; noting that the size of the register denotes its length. Therefore, a 4 bit register (1111 would be called a 4 bit register, based on the cardinality of the register, rather than the value of the high order bit, base 10) would yield 24-1, or 15 unique states. With an output sequence of the least significant bits following the shifts, the size of the register defines a period or 2n – 1 bits before repetition, therefore yielding a base 10 value of 22**n -1 as maxi Adverse Credit Mortgages 101 I. Introduction:So you don’t have a sparkling credit score- welcome to the club! For whatever the reasons may be, perhaps an unpleasant divorce that may have lead to bankruptcy, repossession of a vehicle, or home foreclosure, you’re not alone. You can still get a solid mortgage (including decent terms) through an adverse credit mortgage lender.Since your credit score is low, you will have to pay a significantly higher interest rate (up to 5% more), and possibly private mortgage insurance (PMI- to insure that the loan funders are able to get their money back in the unfortunate event that your home is foreclosed on and you owe more than it’s worth). This doesn’t mean that you should pay more than necessary, or should be a rip-off target; you just have to know what to look for and how to protect yourself. If you know what you’re up against, it’s much more difficult to be overcharged.First, be sure to shop around to get the best price, rate and program. Many mortgage lenders will tell you things like “Mortgage rates are going up” and “I’m not making a dime off of this one!” just to get you to sign on the dotted line. Don’t sign anything unless you are 100% comfortable with the situation, and don’t be afraid to say “No!” or “I’ve gotten a better deal somewhere else!”Next, ask about points. A lender can charge you these “fees” which are each equal to 1% of your full loan amount. This amount is on top of any loan origination fees and other costs associated with the loan. Points can be “hidden” or referred to as “discount points” (which would get you into a lower mortgage rate), and are typically rolled into the loan amount so that you don’t need to bring any cash with you to the closing, thus, increasing your loan amount.Thirdly, is your new mortgage a f Random (adj): a: lacking a definite plan, purpose, or pattern. b: made, done, or chosen at random c: relating to, having, or being elements or events with definite probability of occurrence. d: being or relating to a set or to an element of a set each of whose elements has equal probability of occurrence. [Oxford English Dictionary] Before commencing deep discussion of the art of “true randomality”, it must first be made clear that true randomness is theoretically impossible by the defining principals of our universe. The definition above clearly defines the paradox that surrounds the concept of randomality when subject to probability. In essence we will claim that “truly random” is the state in which for a given set A, for any i, element in A, i if chosen at random, has a probability of [1/|A|] (where |x| denotes cardinality of the set) of occurrence. This is how we judge the “randomness” of a Random Number Generator (RNG(s)), by its ability to exploit probability; given a set A, a perfect RNG will not repeat an element before the set is exhausted; described as the period of a generator, its point of repetition. It must be noted that defining a choice as random is a classification that relies on pure ignorance of the causes and events that result in the ultimate choice. With that aside, the philosophical discussion of “true randomness” will be left behind. The remainder of the discussion will judge “true randomness” as stated above; perfect probabilistic distribution over a given finite field. Although such distribution has never been possible with the various algorithms being discussed, (meaning such a distribution could not be perfect on every occurrence of a specific algorithm) relatively good distribution suffices. I.i Various Uses of Random Number Generators: Random numbers have a multitude of applications. Of particular interest to this study and intended future studies by the author is Cryptography. Many cryptographic protocols make use of RNGs, particularly, public key cryptography (RSA) and some implementations of symmetric ciphers (DES, Serpent). Besides cryptographic function however, RNGs are used in Simulations, for the realistic recreation of “natural” occurrences; in this case, computer games are qualified as simulations, in which RNGs are heavily used in conjunction with probability weights (Gaussian). They’re also used for integrity testing on various computer applications during development, even hardware tests, such as GPU to memory pipelines on AGP based graphic cards. Among those mentioned are many other uses and purposes for the development and “perfection” of making truly random choices. I.ii Brief Algorithm Introduction: Random number generating algorithms come in multiple flavors; these can be separated into two main groups, linear number generators (LNG(s)) and non-linear number generators (NLNG(s)). Each group contains multiple types of RNGs and each of these, have their purpose and uses. It is important to know that although not all generators are made equal, good generators have purposes for which other good generators are not suited to perform. I.ii.a Linear Number Generators: Linear Congruential Generators (LCG(s)) deserve first mention purely on the basis of ubiquity. LCGs and their various spawns and modifications are used in various applications. The LNGs in their purest form are nearly as predictable as the Fibonacci Sequence. These are seeded generators that make their “choices” – if that can be said – linearly in the given finite field, based on their seed. The come in more flavors that most other generator types, no doubt, due to the simplicity of modifying the algorithm for specific purposes. I.ii.b Non-Linear Number Generators: The Inversive Congruential Generator (ICG(s)) and the Explicit Inversive Congruential Generator (EICG(s)) are the two main focuses in this category. These generators are non-linear (as implied), and therefore are not predictable the way that LNGs are. Also mentioned in the non-linear group is the Linear Feedback Shift Register (LFSR(s)) generator. This generator, although linear, as implied by its name, carries the principles of Non-Linear Generators in its implementation; so much so, that LFSRs closely resemble their non-linear counter parts, Non-Linear Feedback Shift Register generators. The details of the history of Feedback Shift Registers go slightly beyond the scope of this paper however a brief introduction to the principals of feedback functions and shift registers is given in parallel with the LFSR discussion. II Linear Congruential Generators: LNGs ultimately generate a sequence of integers between 0 and a given modulus, for the equation Ij+1 = aIj + c (mod m). In this equation, m is used as the modulus, a is a multiplier, and c is an increment. The sequence will repeats within a period of m, where m is usually prime. The advantage of the LNG is immediately noticed by the equation above; its fast, requiring one multiplication, one addition, and one modulus. This immediately lends itself to explaining its wide uses. This type of generator is used in a multitude of applications for which the nature of the random sequence doesn’t matter, only that it be a different sequence from execution to execution; Monte Carlo simulations for example. The speed and simplicity of the algorithm has also led to the amount of flavors developed for different applications. For instance, the equation above is the same equation that the ANSI C/C++ committee has dubbed for use with these languages, given appropriate values for a, c, and m. Besides the linear equation, there are also: Quadratic LCG: Xn = (aXn-12 + bXn-1 + c) mod m Cubic LCG: Xn = (aXn-13 + bXn-12 + cXn-1 + d) mod m There are also polynomial LCGs, Truncated LCGs, etc; each of which work on the same principle and are generally predictable and breakable. For example, the standard LCG was first broken by Jim Reeds, and Quadratic and Cubic Generators broken by Joan Boyar. It should be noted that most modifications to LCGs simply yield worst generators. Since linear generators can only be judged based on their progression through a linear field, and not on a probabilistic survey of a given set, the period of a LCG is of paramount importance, more so than other Congruential generators, even in non-linear fields. There are multiple methods for extending the period of a given generator, however many attempts, unpredictably yield shorter periods. Computing history, both hardware and software, is filled with the “botched” attempts to improve LCGs. Notably, early IBM mainframes with the RANDU routine, using a = 65539, and m = 231 producing a n – dimensional plot in only 11 plane dimensions. There’s also the problem of seeding the generator; each sequence is only as unique as its seed. The Netscape browser’s security was a one point compromised due to the predictability of the chosen seeds in it LCG for which it created crypto-keys. It is possible to force an LCG to be probabilistically correct, by creating uniform deviations. The problem with focusing on the deviation of an LCG is that a well deviated LCG will have an extended period, but its complexity increases, due to the deviation, sometimes beyond the useful range of LCGs. It is also possible to use deviations normalized in a given interval, such as Gaussian deviations, where the period is lengthened such that every integer in the given field is selected. III Inversive Congruential Generators and Linear Feedback Shift Registers: Defined as our non-linear generators, ICGs and EICGs, developed by Eichenauer and Lehn (1986, 1993) are defined by the following congruence: yn+1 = ayn + b (mod m) Where, for practicality, m is also chosen as a prime number in parallel to LCGs. These two generators are most notable due to their speed and period efficiency compromise. They produce relatively long periods, in (5 – 10x average) more time, than LCG. III.i Linear Feedback Shift Registers: LFSR generators are of more relevance here, as a suitable alternative to LCGs for cryptographic applications. Shift registers work on the concept of generating on the bit level, instead of in a base 10 finite field. They address the problem of creating uniform distribution of single random bits, with 0 and 1 equally probable. LFSR generators are made up of two parts, the shift register and the feedback function. The shift register is the bit sequence, in which the size of the shift register is determined by the length of its bits. When bits are needed, the register is shifted 1 bit to the right, and the left bit is computed based on the remaining bits in the register. The simplest method of representing LFSRs feedback function is the XOR of key register bits. The method used by the feedback function is called tap sequence. It’s obvious, that an n-bit LFSR can be in 2n -1 states; noting that the size of the register denotes its length. Therefore, a 4 bit register (1111 would be called a 4 bit register, based on the cardinality of the register, rather than the value of the high order bit, base 10) would yield 24-1, or 15 unique states. With an output sequence of the least significant bits following the shifts, the size of the register defines a period or 2n – 1 bits before repetition, therefore yielding a base 10 value of 22**n -1 as maxim Becoming a Writer erest to this study and intended future studies by the author is Cryptography. Many cryptographic protocols make use of RNGs, particularly, public key cryptography (RSA) and some implementations of symmetric ciphers (DES, Serpent). Besides cryptographic function however, RNGs are used in Simulations, for the realistic recreation of “natural” occurrences; in this case, computer games are qualified as simulations, in which RNGs are heavily used in conjunction with probability weights (Gaussian). They’re also used for integrity testing on various computer applications during development, even hardware tests, such as GPU to memory pipelines on AGP based graphic cards. Among those mentioned are many other uses and purposes for the development and “perfection” of making truly random choices.The urge to write fiction seems God given for some, a learned skill for others.One thing is certain – it requires practice and a particular mindset. But, if you’re a beginner, where do you start?The following 10 tips will help kick-start your writing habit, whether you’re a complete novice, or perhaps a pro who has lost their way!1. Step Away From the Car, Sir.Slightly detach yourself from your surroundings. Stop participating and begin observing. In social situations, watch people, see how they act and – more importantly - interact.Don’t pass judgment. Take it all in – and draw on it later when you write.2. Look Harder, HomerStop and look around you. Consciously notice the buildings, what’s underfoot, overhead, and what’s right in front of you.At home, look at something you take for granted. An iron, for instance. Find yours and study it.3. Write Thinking Will Be Rewarded.A simple technique. Your mother is making tea and you are chatting to her. Take a mental step back and describe the scene.Similarly, when you’re outside, describe your environment as though you were writing it down.4. What Reasons Do You Need?Don’t wait for inspiration – just write!Force yourself to write anything at all. A shopping list. An overheard conversation. Describe your bedroom.It doesn’t matter how personal it is, or how trivial, just get it down!5. Wakey Wakey!Set your alarm clock for an hour earlier than normal.When the alarm goes off, get up. Don’t dress, bathe or eat. Don’t even make coffee. Just stagger to your writing space and write the first thing that comes into your head for five minutes.6. Oh God – Not That!Think of the most awful and em I.ii Brief Algorithm Introduction: Random number generating algorithms come in multiple flavors; these can be separated into two main groups, linear number generators (LNG(s)) and non-linear number generators (NLNG(s)). Each group contains multiple types of RNGs and each of these, have their purpose and uses. It is important to know that although not all generators are made equal, good generators have purposes for which other good generators are not suited to perform. I.ii.a Linear Number Generators: Linear Congruential Generators (LCG(s)) deserve first mention purely on the basis of ubiquity. LCGs and their various spawns and modifications are used in various applications. The LNGs in their purest form are nearly as predictable as the Fibonacci Sequence. These are seeded generators that make their “choices” – if that can be said – linearly in the given finite field, based on their seed. The come in more flavors that most other generator types, no doubt, due to the simplicity of modifying the algorithm for specific purposes. I.ii.b Non-Linear Number Generators: The Inversive Congruential Generator (ICG(s)) and the Explicit Inversive Congruential Generator (EICG(s)) are the two main focuses in this category. These generators are non-linear (as implied), and therefore are not predictable the way that LNGs are. Also mentioned in the non-linear group is the Linear Feedback Shift Register (LFSR(s)) generator. This generator, although linear, as implied by its name, carries the principles of Non-Linear Generators in its implementation; so much so, that LFSRs closely resemble their non-linear counter parts, Non-Linear Feedback Shift Register generators. The details of the history of Feedback Shift Registers go slightly beyond the scope of this paper however a brief introduction to the principals of feedback functions and shift registers is given in parallel with the LFSR discussion. II Linear Congruential Generators: LNGs ultimately generate a sequence of integers between 0 and a given modulus, for the equation Ij+1 = aIj + c (mod m). In this equation, m is used as the modulus, a is a multiplier, and c is an increment. The sequence will repeats within a period of m, where m is usually prime. The advantage of the LNG is immediately noticed by the equation above; its fast, requiring one multiplication, one addition, and one modulus. This immediately lends itself to explaining its wide uses. This type of generator is used in a multitude of applications for which the nature of the random sequence doesn’t matter, only that it be a different sequence from execution to execution; Monte Carlo simulations for example. The speed and simplicity of the algorithm has also led to the amount of flavors developed for different applications. For instance, the equation above is the same equation that the ANSI C/C++ committee has dubbed for use with these languages, given appropriate values for a, c, and m. Besides the linear equation, there are also: Quadratic LCG: Xn = (aXn-12 + bXn-1 + c) mod m Cubic LCG: Xn = (aXn-13 + bXn-12 + cXn-1 + d) mod m There are also polynomial LCGs, Truncated LCGs, etc; each of which work on the same principle and are generally predictable and breakable. For example, the standard LCG was first broken by Jim Reeds, and Quadratic and Cubic Generators broken by Joan Boyar. It should be noted that most modifications to LCGs simply yield worst generators. Since linear generators can only be judged based on their progression through a linear field, and not on a probabilistic survey of a given set, the period of a LCG is of paramount importance, more so than other Congruential generators, even in non-linear fields. There are multiple methods for extending the period of a given generator, however many attempts, unpredictably yield shorter periods. Computing history, both hardware and software, is filled with the “botched” attempts to improve LCGs. Notably, early IBM mainframes with the RANDU routine, using a = 65539, and m = 231 producing a n – dimensional plot in only 11 plane dimensions. There’s also the problem of seeding the generator; each sequence is only as unique as its seed. The Netscape browser’s security was a one point compromised due to the predictability of the chosen seeds in it LCG for which it created crypto-keys. It is possible to force an LCG to be probabilistically correct, by creating uniform deviations. The problem with focusing on the deviation of an LCG is that a well deviated LCG will have an extended period, but its complexity increases, due to the deviation, sometimes beyond the useful range of LCGs. It is also possible to use deviations normalized in a given interval, such as Gaussian deviations, where the period is lengthened such that every integer in the given field is selected. III Inversive Congruential Generators and Linear Feedback Shift Registers: Defined as our non-linear generators, ICGs and EICGs, developed by Eichenauer and Lehn (1986, 1993) are defined by the following congruence: yn+1 = ayn + b (mod m) Where, for practicality, m is also chosen as a prime number in parallel to LCGs. These two generators are most notable due to their speed and period efficiency compromise. They produce relatively long periods, in (5 – 10x average) more time, than LCG. III.i Linear Feedback Shift Registers: LFSR generators are of more relevance here, as a suitable alternative to LCGs for cryptographic applications. Shift registers work on the concept of generating on the bit level, instead of in a base 10 finite field. They address the problem of creating uniform distribution of single random bits, with 0 and 1 equally probable. LFSR generators are made up of two parts, the shift register and the feedback function. The shift register is the bit sequence, in which the size of the shift register is determined by the length of its bits. When bits are needed, the register is shifted 1 bit to the right, and the left bit is computed based on the remaining bits in the register. The simplest method of representing LFSRs feedback function is the XOR of key register bits. The method used by the feedback function is called tap sequence. It’s obvious, that an n-bit LFSR can be in 2n -1 states; noting that the size of the register denotes its length. Therefore, a 4 bit register (1111 would be called a 4 bit register, based on the cardinality of the register, rather than the value of the high order bit, base 10) would yield 24-1, or 15 unique states. With an output sequence of the least significant bits following the shifts, the size of the register defines a period or 2n – 1 bits before repetition, therefore yielding a base 10 value of 22**n -1 as maxi How to Date a Sexy Russian Woman s:Dating a sexy Russian woman is much easier than one would think. There are three hurdles to first overcome before diving into the sexy Russian woman dating scene!1. Get over your pre-historic hang ups! What this means is to first remember and embrace the time in which you live. This is truly an electronic age where the typical old rules of how to go about living life are now thrown out the window. You don't go and use a pay phone when you have a cell phone on you. You no longer rent vhs tapes when dvd is available. You don't go driving 300 miles to a junkyard that might have the right part for your car when you can hop on ebay and get it. So goes the rules for dating and finding attractive women. No one goes to bars anymore week after week after week hoping to maybe talk to a woman when you can find a sexy Russian woman online in one night and begin conversing with her right away. The point is we live in a new kind of world and the possibilities are pretty amazing and should be taken advantage of. Being able to easily date a sexy Russian woman is one of those amazing advantages we now have.2. Get over your physical distance hang-ups! Now that the mental hang-ups over meeting a sexy Russian woman are out of the way, the physical road blocks need to be dealt with. When there is lack of one element, there is usually an abundance of another. This is the case with engaging in a relationship with a sexy Russian woman. While the distance physically may seem far, the closeness you will achieve through continual communication online will be so great that you'll see why typical, standard American relationships, fail so often. Communication is always the number one factor in relationships, and to think you are mastering that aspect from the ver The Inversive Congruential Generator (ICG(s)) and the Explicit Inversive Congruential Generator (EICG(s)) are the two main focuses in this category. These generators are non-linear (as implied), and therefore are not predictable the way that LNGs are. Also mentioned in the non-linear group is the Linear Feedback Shift Register (LFSR(s)) generator. This generator, although linear, as implied by its name, carries the principles of Non-Linear Generators in its implementation; so much so, that LFSRs closely resemble their non-linear counter parts, Non-Linear Feedback Shift Register generators. The details of the history of Feedback Shift Registers go slightly beyond the scope of this paper however a brief introduction to the principals of feedback functions and shift registers is given in parallel with the LFSR discussion. II Linear Congruential Generators: LNGs ultimately generate a sequence of integers between 0 and a given modulus, for the equation Ij+1 = aIj + c (mod m). In this equation, m is used as the modulus, a is a multiplier, and c is an increment. The sequence will repeats within a period of m, where m is usually prime. The advantage of the LNG is immediately noticed by the equation above; its fast, requiring one multiplication, one addition, and one modulus. This immediately lends itself to explaining its wide uses. This type of generator is used in a multitude of applications for which the nature of the random sequence doesn’t matter, only that it be a different sequence from execution to execution; Monte Carlo simulations for example. The speed and simplicity of the algorithm has also led to the amount of flavors developed for different applications. For instance, the equation above is the same equation that the ANSI C/C++ committee has dubbed for use with these languages, given appropriate values for a, c, and m. Besides the linear equation, there are also: Quadratic LCG: Xn = (aXn-12 + bXn-1 + c) mod m Cubic LCG: Xn = (aXn-13 + bXn-12 + cXn-1 + d) mod m There are also polynomial LCGs, Truncated LCGs, etc; each of which work on the same principle and are generally predictable and breakable. For example, the standard LCG was first broken by Jim Reeds, and Quadratic and Cubic Generators broken by Joan Boyar. It should be noted that most modifications to LCGs simply yield worst generators. Since linear generators can only be judged based on their progression through a linear field, and not on a probabilistic survey of a given set, the period of a LCG is of paramount importance, more so than other Congruential generators, even in non-linear fields. There are multiple methods for extending the period of a given generator, however many attempts, unpredictably yield shorter periods. Computing history, both hardware and software, is filled with the “botched” attempts to improve LCGs. Notably, early IBM mainframes with the RANDU routine, using a = 65539, and m = 231 producing a n – dimensional plot in only 11 plane dimensions. There’s also the problem of seeding the generator; each sequence is only as unique as its seed. The Netscape browser’s security was a one point compromised due to the predictability of the chosen seeds in it LCG for which it created crypto-keys. It is possible to force an LCG to be probabilistically correct, by creating uniform deviations. The problem with focusing on the deviation of an LCG is that a well deviated LCG will have an extended period, but its complexity increases, due to the deviation, sometimes beyond the useful range of LCGs. It is also possible to use deviations normalized in a given interval, such as Gaussian deviations, where the period is lengthened such that every integer in the given field is selected. III Inversive Congruential Generators and Linear Feedback Shift Registers: Defined as our non-linear generators, ICGs and EICGs, developed by Eichenauer and Lehn (1986, 1993) are defined by the following congruence: yn+1 = ayn + b (mod m) Where, for practicality, m is also chosen as a prime number in parallel to LCGs. These two generators are most notable due to their speed and period efficiency compromise. They produce relatively long periods, in (5 – 10x average) more time, than LCG. III.i Linear Feedback Shift Registers: LFSR generators are of more relevance here, as a suitable alternative to LCGs for cryptographic applications. Shift registers work on the concept of generating on the bit level, instead of in a base 10 finite field. They address the problem of creating uniform distribution of single random bits, with 0 and 1 equally probable. LFSR generators are made up of two parts, the shift register and the feedback function. The shift register is the bit sequence, in which the size of the shift register is determined by the length of its bits. When bits are needed, the register is shifted 1 bit to the right, and the left bit is computed based on the remaining bits in the register. The simplest method of representing LFSRs feedback function is the XOR of key register bits. The method used by the feedback function is called tap sequence. It’s obvious, that an n-bit LFSR can be in 2n -1 states; noting that the size of the register denotes its length. Therefore, a 4 bit register (1111 would be called a 4 bit register, based on the cardinality of the register, rather than the value of the high order bit, base 10) would yield 24-1, or 15 unique states. With an output sequence of the least significant bits following the shifts, the size of the register defines a period or 2n – 1 bits before repetition, therefore yielding a base 10 value of 22**n -1 as maxi Next On The Menu: Phish and Spam Over Voice ion, there are also:
Quadratic LCG:Last January 04, we submitted an article entitled "The Top Seven Threats To Your Computer in 2007" and we listed Voice over IP (VoIP) as the number four threat. Two weeks later, the Computerworld website came out with an article entitled "VoIP Soon To Be A Target Of...Hackers". For those of you who are unfamiliar with Computerworld, it is a website targeted more towards advanced computer users ("geeks" is the industry-standard appellation).VoIP is not an entirely new technology, in fact it has been around since the mid-1990's. At that time, home internet users mostly connected through dial-up and the maximum speed was 56Kbps. High speed connections were limited mostly to big businesses who paid, what by today's standards are, ridiculously high fees for dedicated connections. High speed connection was a prerequisite for good quality connections, otherwise the connections would be choppy when done through dial-up.Nowadays, with broadband internet affordable for households and businesses around the world, VoIP has become a common internet staple. Internet providers and telecommunications companies are falling over each other offering competitive pricing for VoIP. Basically, the use of VoIP has become widespread enough that spammers and cyber criminals want in on the action.The weaknesses of VoIP is in its very infrastructure and the protocol it uses in order to transport the voice data. It comes as no surprise that hackers are savvy enough to exploit these. Without getting into technical details, VoIP's weakness figure prominently in its inability to adapt with some older and existing firewalls. For those of you who are not familiar with firewalls, they can either be hardware or software applications that secure your personal computers and/or you Xn = (aXn-12 + bXn-1 + c) mod m Cubic LCG: Xn = (aXn-13 + bXn-12 + cXn-1 + d) mod m There are also polynomial LCGs, Truncated LCGs, etc; each of which work on the same principle and are generally predictable and breakable. For example, the standard LCG was first broken by Jim Reeds, and Quadratic and Cubic Generators broken by Joan Boyar.It should be noted that most modifications to LCGs simply yield worst generators. Since linear generators can only be judged based on their progression through a linear field, and not on a probabilistic survey of a given set, the period of a LCG is of paramount importance, more so than other Congruential generators, even in non-linear fields. There are multiple methods for extending the period of a given generator, however many attempts, unpredictably yield shorter periods. Computing history, both hardware and software, is filled with the “botched” attempts to improve LCGs. Notably, early IBM mainframes with the RANDU routine, using a = 65539, and m = 231 producing a n – dimensional plot in only 11 plane dimensions. There’s also the problem of seeding the generator; each sequence is only as unique as its seed. The Netscape browser’s security was a one point compromised due to the predictability of the chosen seeds in it LCG for which it created crypto-keys. It is possible to force an LCG to be probabilistically correct, by creating uniform deviations. The problem with focusing on the deviation of an LCG is that a well deviated LCG will have an extended period, but its complexity increases, due to the deviation, sometimes beyond the useful range of LCGs. It is also possible to use deviations normalized in a given interval, such as Gaussian deviations, where the period is lengthened such that every integer in the given field is selected. III Inversive Congruential Generators and Linear Feedback Shift Registers: Defined as our non-linear generators, ICGs and EICGs, developed by Eichenauer and Lehn (1986, 1993) are defined by the following congruence: yn+1 = ayn + b (mod m) Where, for practicality, m is also chosen as a prime number in parallel to LCGs. These two generators are most notable due to their speed and period efficiency compromise. They produce relatively long periods, in (5 – 10x average) more time, than LCG. III.i Linear Feedback Shift Registers: LFSR generators are of more relevance here, as a suitable alternative to LCGs for cryptographic applications. Shift registers work on the concept of generating on the bit level, instead of in a base 10 finite field. They address the problem of creating uniform distribution of single random bits, with 0 and 1 equally probable. LFSR generators are made up of two parts, the shift register and the feedback function. The shift register is the bit sequence, in which the size of the shift register is determined by the length of its bits. When bits are needed, the register is shifted 1 bit to the right, and the left bit is computed based on the remaining bits in the register. The simplest method of representing LFSRs feedback function is the XOR of key register bits. The method used by the feedback function is called tap sequence. It’s obvious, that an n-bit LFSR can be in 2n -1 states; noting that the size of the register denotes its length. Therefore, a 4 bit register (1111 would be called a 4 bit register, based on the cardinality of the register, rather than the value of the high order bit, base 10) would yield 24-1, or 15 unique states. With an output sequence of the least significant bits following the shifts, the size of the register defines a period or 2n – 1 bits before repetition, therefore yielding a base 10 value of 22**n -1 as maxi The Importance of Mortgage Life Insurance erators and Linear Feedback Shift Registers:Let’s face it – mention things mortgage life insurance – in fact anything personal finance related - and we all know that it is as dull as dishwater. However, without things like mortgage life cover - life could be a lot harder financially.So, what is mortgage life insurance and what is so great about it?In a nutshell, in the event of you or your partner dying, mortgage life insurance can mean that the difference between keeping a roof over your head or ending up having your home repossessed – a frightening thought.And while many of us find organising something like life insurance a sombre business as it makes us face our mortality, it is the fair and right thing to do for your partner and any next of kin to make sure that your finances are in order in the event of your death.So why do you need mortgage life insurance cover? A mortgage life insurance policy runs for a fixed policy term – most people take it put to run concurrent with their mortgage. Should you die before the end of the term period, the policy can help pay off outstanding balance of the mortgage on your home. This will be in the form of a cash sum.This means that your dependants will not have the financial worry of trying to find the mortgage repayments in the event of your death. Neither will they have to worry about selling up and maybe downsizing in order to keep a roof over their heads – the last things that you would want to put them through.The good thing about mortgage life insurance is that you only pay for the cover that you need – so as the amount outstanding on your mortgage decreases, you are only paying out for the level of cover you require.Mortgage life policies are available on a single or joint life basis. If you have a joint life po Defined as our non-linear generators, ICGs and EICGs, developed by Eichenauer and Lehn (1986, 1993) are defined by the following congruence: yn+1 = ayn + b (mod m) Where, for practicality, m is also chosen as a prime number in parallel to LCGs. These two generators are most notable due to their speed and period efficiency compromise. They produce relatively long periods, in (5 – 10x average) more time, than LCG. III.i Linear Feedback Shift Registers: LFSR generators are of more relevance here, as a suitable alternative to LCGs for cryptographic applications. Shift registers work on the concept of generating on the bit level, instead of in a base 10 finite field. They address the problem of creating uniform distribution of single random bits, with 0 and 1 equally probable. LFSR generators are made up of two parts, the shift register and the feedback function. The shift register is the bit sequence, in which the size of the shift register is determined by the length of its bits. When bits are needed, the register is shifted 1 bit to the right, and the left bit is computed based on the remaining bits in the register. The simplest method of representing LFSRs feedback function is the XOR of key register bits. The method used by the feedback function is called tap sequence. It’s obvious, that an n-bit LFSR can be in 2n -1 states; noting that the size of the register denotes its length. Therefore, a 4 bit register (1111 would be called a 4 bit register, based on the cardinality of the register, rather than the value of the high order bit, base 10) would yield 24-1, or 15 unique states. With an output sequence of the least significant bits following the shifts, the size of the register defines a period or 2n – 1 bits before repetition, therefore yielding a base 10 value of 22**n -1 as maximum value, and period. In order to reach this maximum period, a primitive polynomial must be formed by the tap sequence, where the degree of the polynomial yields the length of the shift register. III.i.a Primitive Polynomials in Linear Feedback Shift Registers A primitive Polynomial is defined as an irreducible polynomial P of degree d in [Z/p[x]] (denoting finite field of p[x] in Z) is primitive if P divides xd – 1 but does not divide xi – 1 for any integer i with 0 < i < d. Therefore, a polynomial P of degree d is primitive if and only if: xn = 1 mod P but, xi != 1 mod P for 0 < i < d It is not necessary to check all smaller exponential values than d, but only possible values from the divisors of degree d. There is no easy method for generating primitive polynomials modulo 2 for a given degree. Therefore, choosing random polynomials and testing if its primitive is the most used method. III.i.b Maximizing and Reaching the Period of an LFSR As stated above, the period of any LFSR is based on the size of the shift register; the size of the shift register is based on the degree of the polynomial, therefore the period of the LFSR is determined by the polynomial used. Primitive polynomials are necessary here because if the polynomial used is not primitive, the period will be shortened, and there may be bad states which may shorten the period further. Therefore choosing a primitive polynomial is of dominant importance to any LFSR. Given the polynomial, x8+x4+x3+x2+x which is primitive modulo 2, a maximal period can be produced. The first exponent is the length of the shift register, and all exponents except 1 and 0 are used to specify the tap sequence by the feedback function, where low degree terms correspond to the left most register bits. Therefore, in a given 8-bit shift register, a new bit is generated by XORing the 8th, 4th, 3rd and 2nd bits of the register together. The LFSR that results from this polynomial will have a precise period of 28-1. Linear Feedback Shift Registers are found in many places, such as in Ueli Maurer’s Fast Prime Generation routine, but most commonly in the stream-cipher domain of cryptography. Therefore the propagation of primitive polynomials is important to success of such ciphers. The polynomial used in LFSRs is as important as the seed used in a LCG. Just as LCGs are cracked by deterministic seeds, LFSRs are also cracked by many organizations, based on the use and reuse of deterministic primitive polynomials. It should also be noted that the algorithm itself is completely linear when sequential bits are taken into account, however its implementation in software makes in non-linear. By running simultaneous LFSR applications (32 for a computer with a word size of 32) nonlinear sequences can be produced; rather, seemingly nonlinear, described as a large linear complexity. IV Discussion: The Linear Congruential Generators we presented here for an ease into the concept of random number generation, and for study of a variety of methods of generation. However, in the domain of cryptography, LCGs are all but irrelevant. LFSR, and their “cousins” Non-Linear Feedback Shift Registers are of more relevance to the authors interest. Besides the methods described above, another interesting method of generating random numbers are also worth brief mention. Symmetric block ciphers are also capable of producing randomality. Beginning with block product ciphers like LUCIFER and DES, the use of block ciphers to produce random bits, although many times slower than LCG and even LFSR, yields considerably random bit sequences. The more recent successor to DES, AES (Rijndael algorithm) and even the runner up contender to AES, Serpent, have also been used for the generation of random bits. Essentially, the philosophical debate of the concept of randomality displays the obvious difficulty in constructing a truly random algorithm. The fact that most random generation algorithms are based on random sequences, be they number sequences or bit sequences, undermines the term random from the very first line of code and comments justifying its feasibility. However, random sequences are frequently used, and make amply use of the ignorance factor. As long as new methods of seeding and new primitive polynomials are found, for which we have an infinite supply, the number generators above will remain in use. The possible existence of a truly random number algorithm is questionable, but with many algorithms and sequences still remaining unbroken and uncharted, that existence cannot be denied.
HTTP = HTML link (for blogs, profiles,phorums):
Related Articles:
|