From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr Received: from mail2-relais-roc.national.inria.fr (mail2-relais-roc.national.inria.fr [192.134.164.83]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p3UBj0wN027289 for ; Sat, 30 Apr 2011 13:45:00 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ag4CANz1u01KfVI0imdsb2JhbACmEAgUAQEBCgkNBxIGIagXinyCKoQmNIheAQEDBoV6BJQghRM7gy8 X-IronPort-AV: E=Sophos;i="4.64,292,1301868000"; d="asc'?scan'208";a="98392248" Received: from mail-ww0-f52.google.com ([74.125.82.52]) by mail2-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-MD5; 30 Apr 2011 13:44:55 +0200 Received: by wwe15 with SMTP id 15so5982846wwe.9 for ; Sat, 30 Apr 2011 04:44:55 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :cc:subject:references:in-reply-to:x-enigmail-version:content-type; bh=LExB13rinQoRMlgoekuvY78Rhl5lX5AZeoz08Ofwy20=; b=JQjsqD9SSDFb/Z9Eq5YaixqotVWMEotrtDLLGK52iuhW7usj3fCzR78nptJawcIWTl PW3HChoVigeYGRV1hrhXZcsNSw3prZs46OWqCLxFlbYHwtqJHnGYqDeDVn/TwVH+Ugjc QOoaeO2t95ZmECl980kM4K5AeS98jVMl4Z39k= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type; b=D2xaNUmx/Rad1x3SUKLHhc1XH9QZ/D7A2vwFzgaxZvzLUu20nevvUWXr6PjtbVUrGA ku1tuaHsKkboj3Qvtl4VlkYTJ51MzUD3zf3LLqVSaKGN5kdL21LZsXVEtP1YvaDCPg2Y xV70E3bgLp9vgqqAZ0NSfeXKvUf/hslec7gbI= Received: by 10.216.121.200 with SMTP id r50mr542521weh.7.1304163751060; Sat, 30 Apr 2011 04:42:31 -0700 (PDT) Received: from macbookpro.local (vpn-b-advanced.univ-savoie.fr [193.48.127.14]) by mx.google.com with ESMTPS id n52sm1768217wer.0.2011.04.30.04.42.29 (version=SSLv3 cipher=OTHER); Sat, 30 Apr 2011 04:42:30 -0700 (PDT) Message-ID: <4DBBF59F.1000504@univ-savoie.fr> Date: Sat, 30 Apr 2011 13:42:23 +0200 From: Christophe Raffalli User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; fr; rv:1.9.2.15) Gecko/20110303 Thunderbird/3.1.9 MIME-Version: 1.0 To: =?ISO-8859-1?Q?T=F6r=F6k_Edwin?= CC: caml-list@inria.fr References: <4DBBE676.8070101@univ-savoie.fr> <4DBBEF0B.2050204@univ-savoie.fr> <4DBBF1D8.6020105@gmail.com> In-Reply-To: <4DBBF1D8.6020105@gmail.com> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig77DB52F0D150BD9E5FD42E29" X-Validation-by: craff73@gmail.com Subject: Re: [Caml-list] portablility of random.mli in the stdlib This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig77DB52F0D150BD9E5FD42E29 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Le 30/04/11 13:26, T=F6r=F6k Edwin a =E9crit : > Why should a random generator give the same results over multiple > versions and architectures? To be able to replay a game on various architecture saving only the seed and the user movement (which is very small). > Starting from same seed is useful only for debugging. This is really untrue in a lot of applications for instance in cryptography. But I do not know if random.ml is good enough for assymetric cryptography (where the secret key in the seed and the coding is simply xor with a random sequence of bit) This require not only passing all randomness test, but also making it hard to recover the key from a generated sequence of random bits. Cheers, Christophe --------------enig77DB52F0D150BD9E5FD42E29 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (Darwin) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iEYEARECAAYFAk279aMACgkQi9jr/RgYAS4qNACfd5ch9Z40t1xrBZlYOtkiDL+g I84Anj9yhCU3q2Fecp6dWOaC4w7IBdM5 =JnQ8 -----END PGP SIGNATURE----- --------------enig77DB52F0D150BD9E5FD42E29--