pike.git/
CHANGES
Branch:
Tag:
Non-build tags
All tags
No tags
2014-07-21
2014-07-21 14:50:40 by Per Hedbor <ph@opera.com>
7e027d1de11917d7e467437d00f75f4b5f65a54b (
28
lines) (+
14
/-
14
)
[
Show
|
Annotate
]
Branch:
8.0
Moved random() note
179:
Similarily int(1bit) is an alias for 'bool', and int(12bit) is the same as int(0..4095).
-
o The random(), random_string() and random_seed() might be more random
-
-
On computers with a hardware pseudo random generator random() can
-
return significantly more random numbers, however, this means that
-
random_seed is a no-op on those machines.
-
-
A side-effect of this is that random_string is now actually
-
significantly faster on at least x86 cpu:s with rdrnd.
-
-
Note: If you want cryptographically random data please use
-
Crypto.Random.random_string unless you know for sure the random data
-
returned by the RDRND instruction is random enough.
-
-
+
New preprocessor features -------------------------
959:
The result will still be a float, the argument will be converted.
+
o The random(), random_string() and random_seed() might be more random
+
+
On computers with a hardware pseudo random generator random() can
+
return significantly more random numbers, however, this means that
+
random_seed is a no-op on those machines.
+
+
A side-effect of this is that random_string is now actually
+
significantly faster on at least x86 cpu:s with rdrnd.
+
+
Note: If you want cryptographically random data please use
+
Crypto.Random.random_string unless you know for sure the random data
+
returned by the RDRND instruction is random enough.
+
Crypto and SSL --------------