You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
-
12"dedicated quantum noise source". Hooking up with a Geiger Counter was not unknown.PCARR– PCARR2017-02-05 13:05:30 +00:00Commented Feb 5, 2017 at 13:05
-
27This is a bit too harsh IMO. What's a good and what's a bad PRNG depends on what you need the numbers for. Sure, some cryptographical applications won't be satisfied with any results that can be deterministically predicted, but for many other purposes like games or most Monte Carlo algorithms it makes absolutely no difference whether you use a simple LCG (as long as you don't choose ridiculously bad parameters) or a true quantum randomness source.leftaroundabout– leftaroundabout2017-02-06 14:13:50 +00:00Commented Feb 6, 2017 at 14:13
-
23As a minor quibble, Mersenne Twister was not "the first decent PRNG"; it was just the first that became widespread outside crypto-specific applications. ISAAC, for example, was published in 1993, and produces considerably better randomness than MT. RC4 (which is usually called a stream cipher rather than a PRNG, but those are effectively the same thing) was developed in 1987, although it remained a trade secret until 1994. And the DES block cipher, which can be easily used as a crypto-quality PRNG (far better than MT, anyway), dates from 1975.Ilmari Karonen– Ilmari Karonen2017-02-06 17:11:42 +00:00Commented Feb 6, 2017 at 17:11
-
9Badly indeed. On my first job in 1989, I implemented one RNG algorithm from a textbook of mine, and added the wrinkle that the client could specify the range of numbers returned. Should be no problem with random output, right? Well, one user tried it with Boolean (0..1), and discovered the algorithm merely alternated.T.E.D.– T.E.D.2017-02-06 18:49:18 +00:00Commented Feb 6, 2017 at 18:49
-
11The Mersenne Twister was not the first decent PRNG, not even outside cryptography. RANLUX produces a much higher quality, predates it by at least 3 years and was widely used in things like Monte Carlo simulations. Ranshi predates it by at least 3 years, is faster and also produces better randomness.LKlevin– LKlevin2017-02-07 06:29:40 +00:00Commented Feb 7, 2017 at 6:29
|
Show 10 more comments
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
-
create code fences with backticks ` or tildes ~
```
like so
``` -
add language identifier to highlight code
```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- quote by placing > at start of line
- to make links (use https whenever possible)
<https://example.com>[example](https://example.com)<a href="/api/flow.js?q=https%3A%2F%2Fexample.com">example</a>
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. ms-dos), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you