#23639 [Opn]: Wrong italian translation of mt_rand, and inaccurate text also in english
| From: | darvina@php.net | Date: | Fri, 30 Jan 2004 20:52:57 +0000 |
| Subject: | #23639 [Opn]: Wrong italian translation of mt_rand, and inaccurate text also in english | ||
| References: | 1 | Groups: | php.doc |
| Request: | Send a blank email to phpdoc+get-969358613@lists.php.net to get a copy of this message | ||
ID: 23639
Updated by: darvina@php.net
Reported By: lapo at lapo dot it
Status: Open
Bug Type: Documentation problem
Operating System: independent
PHP Version: 4.3.2RC2
New Comment:
Fixed the italian translation as suggested.
Previous Comments:
------------------------------------------------------------------------
[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