#23639 [NEW]: Wrong italian translation of mt_rand, and inaccurate text also in english

From: Date: Thu, 15 May 2003 10:42:12 +0000
Subject: #23639 [NEW]: Wrong italian translation of mt_rand, and inaccurate text also in english
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353469@lists.php.net to get a copy of this message
From: lapo at lapo dot it Operating system: independent PHP version: 4.3.2RC2 PHP Bug Type: Documentation problem Bug description: Wrong italian translation of mt_rand, and inaccurate text also in english <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 bug report at http://bugs.php.net/?id=23639&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=23639&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=23639&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=23639&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=23639&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=23639&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=23639&r=support Expected behavior: http://bugs.php.net/fix.php?id=23639&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=23639&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=23639&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=23639&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=23639&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=23639&r=dst IIS Stability: http://bugs.php.net/fix.php?id=23639&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=23639&r=gnused

« previous php.doc (#969353469) next »