This is a PGP signed message sent according to RFC3156 [PGP/MIME]
--=_Turnpike_r5BhxhbSyiME5LvJ=
Content-Type: text/plain;charset=us-ascii;format=flowed
Content-Transfer-Encoding: quoted-printable
In message=20
<a260a2190604031256g23cf3645s348f829530982b38@mail .gmail.com>, Matthijs=20
<thotter@gmail.com> writes
>By the way, if the random function can only generate numbers between 0
>and 32767, won't 2 bytes be enough then? The algorithm will perform a
>modulo calculation anyway, so 4 bytes won't really add anything. Of
>course, it is much better then only one byte.
That will depend on whether the state stored between calls to the PRNG=20
is only 15-bits, or something larger.
If more state is stored than is enumerated in the result, then the=20
generator should have more points on its sequence than 32768 . In that=20
case then, seeding with more than 15 bits would be worthwhile.
I have not looked at Bash myself, to see what it actually does
--=20
Dave English Senior Software & Systems Engineer
Internet Platform Development, Thus plc
--=_Turnpike_r5BhxhbSyiME5LvJ=
Content-Type: application/pgp-signature
Content-Disposition: attachment; filename=signature.asc
-----BEGIN PGP SIGNATURE-----
Version: PGP SDK 3.5.5
iQA/AwUARDIskv6KvPRE3w75EQKoagCfY3eC7QzMG8x+LfzgyVHzkF vquUIAn34K
dZgH9F5q3beV4nVhha/qFFG5
=r8vy
-----END PGP SIGNATURE-----
--=_Turnpike_r5BhxhbSyiME5LvJ=--

Likes:

Quote