ID:               23639
 Updated by:       [EMAIL PROTECTED]
 Reported By:      lapo at lapo dot it
-Status:           Open
+Status:           Closed
 Bug Type:         Documentation problem
 Operating System: independent
 PHP Version:      4.3.2RC2
 New Comment:

This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation
better.




Previous Comments:
------------------------------------------------------------------------

[2004-01-30 15:52:57] [EMAIL PROTECTED]

Fixed the italian translation as suggested.

------------------------------------------------------------------------

[2003-05-15 05:42:12] lapo at lapo dot it

<http://www.php.net/manual/it/function.mt-rand.php> says:

"assicura numeri casuali che dovrebbero essere adatti per scopi
crittografici"

which translates to sometihng like "it cerates numbers that surely can
be used for cryptography"... at it is plainly false and negated on the
homepage of MT itself.



don't know if this is just a translation of an old verison of the
english page, but right now the english page says the correct thing:
"can be used to seed..."



A better italian translation would be:

"genera numeri casuali che, con le dovute accortezze, possono perfino
essere usati in crittografia"



Anyway I'd rather REMOVE that citation of cryptography entirely from
every translation, as it is not adequate for it (MT page also says it
in the first lines: "Caution: MT is for MonteCarlo, and is NOT SECURE
for CRYPTOGRAPHY as it is.").

As they say in the FAQ <http://www.math.keio.ac.jp/~matumoto/efaq.html>
"changing a linear congruential PRNG for MT can do no bad" but this is
far from being "cryptographically secure".



A good secure PRNG is Bruce Schneier's Yarrow
<http://www.counterpane.com/yarrow.html>

Also a good text about security and PRNG is linked in that page:
<http://www.counterpane.com/pseudorandom_number.html>

------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=23639&edit=1

Reply via email to