prng
Codes for scratch cards
I\'ll try to be simple, clear and direct. My problem is the following: I have a project where I need to[详细]
2023-04-06 01:26 分类:问答JavaScript pseudo-random sequence generator
I need to generate a deterministic (i.e. repeatable) sequence of pseudo-random numbers given an initial seed and select the nth item from that sequence.[详细]
2023-03-30 10:14 分类:问答An RNG faster than /dev/random but cryptographically useful?
I\'ve started some work of which requires some quality random bytes, such as 32 at a time for an initialising vector for certain cryptographic applications. My issue is, this may be called upon multip[详细]
2023-03-25 04:55 分类:问答What is a possible way to bias a random number generator?
I built a word generator, it picks a length and then randomly picks letters of the alphabet to make up words.[详细]
2023-03-24 06:23 分类:问答What (else) is wrong with using time as a seed for random number generation?
I understand that time is an insecure seed for random number generation because it effectively reduces the size of the seed space.[详细]
2023-03-19 14:33 分类:问答How (if at all) does a predictable random number generator get more secure after SHA-1ing its output?
This article states that Despite the fact that the Mersenne Twister is an extremely good pseudo-random number generator, it is not cryptographically secure by itself for a very simple reason. It is[详细]
2023-03-18 23:09 分类:问答A safe random number, such as an integer from /dev/random, for Windows platform?
In my application, I require a function to generate (unpredictably) random values that differ each time when called such as inside a fast loop.[详细]
2023-02-28 17:06 分类:问答C++ versus Java performance [closed]
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but this question will likely solicit debate, a[详细]
2023-02-25 00:45 分类:问答Generate a random number which is greater than a specific number
In Advanced Bash-Scripting Guide Chaper 9.3. $RANDOM: generate random integer It illustrates how to generate a random number greater than a specific number:[详细]
2023-02-23 06:11 分类:问答Scaling Int uniform random range into Double one
Actually, I have several interweaving questions. (If it matters I use C#.) First. I have a prng that generates random numbers in UInt32 range, from 0 to UInt32.Max inclusive. I want to preserve the开[详细]
2023-02-20 07:38 分类:问答