--- a/Random.st Wed Oct 22 09:18:11 2008 +0200
+++ b/Random.st Wed Oct 22 14:15:30 2008 +0200
@@ -64,13 +64,16 @@
documentation
"
- random numbers - thanks to Steves GNU Smalltalk
+ simple random numbers - thanks to Steves GNU Smalltalk
This implements a linear congruential maximum period random number generator
which passes the spectral test for randomness for dimensions 2 3 4 5 6.
- DO NOT USE IT FOR CRYPTOGRAPHY, because linear congruential generators
- are predictable and can be broken easily!!
+ WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING WARNING
+ =======================================================================================
+ DO NOT USE THIS GENERATOR FOR CRYPTOGRAPHY OR OTHER SECURITY RELATED WORK,
+ because linear congruential generators are predictable and can be broken easily!!
+ =======================================================================================
Notice: although being included here,
this file is NOT covered by the ST/X license, but by
@@ -508,7 +511,6 @@
self shouldNotImplement
! !
-
!Random methodsFor:'private'!
setSeed
@@ -581,5 +583,5 @@
!Random class methodsFor:'documentation'!
version
- ^ '$Header: /cvs/stx/stx/libbasic2/Random.st,v 1.38 2007-05-29 10:06:36 cg Exp $'
+ ^ '$Header: /cvs/stx/stx/libbasic2/Random.st,v 1.39 2008-10-22 12:15:30 cg Exp $'
! !