我的问题是,很明显,例如所有的按钮可以有相同的图像因为它只需要一个随机数。
My problem is that, obviously, for example all buttons could have the same image since it just takes a random number.
下面,需要生成nonce字段,它包装了一个随机数作为一个整数。
Next, I need to author the nonce field, which wraps a random number as an integer.
一个简单的统计特性,很快的RNG密码足够好艾萨克。我个人使用它,每当我需要良好的随机数。
A simple, pretty fast RNG with statistical properties good enough for cryptography is ISAAC. Personally I use it whenever I need decent random Numbers.
所以,我们需要回滚整个代码改动。而不只是“为了一个特别的机器去修改一个和以前完全不一样的随机数”。
Not just "change one random number so that the totally different allocation pattern happens to give the same result on one particular machine".
所以,我们需要回滚整个代码改动。而不只是“为了一个特别的机器去修改一个和以前完全不一样的随机数”。
Not just "change one random number so that the totally different allocation pattern happens to give the same result on one particular machine".
应用推荐