[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

This page is part of the web mail archives of SRFI 27 from before July 7th, 2015. The new archives for SRFI 27 contain all messages, not just those from before July 7th, 2015.

*To*: srfi-27@xxxxxxxxxxxxxxxxx*Subject*: Re: your implementation of L'Ecuyer's MRG32k3a generator*From*: "Scott G. Miller" <scgmille@xxxxxxxxxxxxxxxxxx>*Date*: Fri, 22 Feb 2002 08:04:32 -0800*Delivered-to*: srfi-27@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx*In-reply-to*: <OFF8697BFE.A9E7B57A-ONC1256B68.00416188@xxxxxxxxxxxxxxxxxxx>*References*: <OFF8697BFE.A9E7B57A-ONC1256B68.00416188@xxxxxxxxxxxxxxxxxxx>*User-agent*: Mutt/1.3.27i

> > On the other hand: It would be nice to hear what crypto people > would like the interface to the RNG to be. Your earlier proposal > for a method to obtain a stream of bytes rather than range-limited > integers with variable range is a start. I am still thinking on > how to solve that one nicely. As a crypto person, we generally want to be able to generate random integers that can be represented in a fixed range of bits (for example, 0 -> 1024 bits) for public/private key cryptosystems. Block ciphers and protocol nonces require the same, though usually in smaller sizes (64,128,256 bits). Generally floating point numbers are not required, as most of the algorithms operate on the natural numbers. The nice thing about obtaining a stream of bytes is that if you have one, and your Scheme system has arithmetic shift, you can get any of the above with some simple routines and a stream of random bytes. Scott

**Attachment:
pgpG27j4PIf0M.pgp**

**References**:**Re: your implementation of L'Ecuyer's MRG32k3a generator***From:*sebastian . egner

- Prev by Date:
**Re: your implementation of L'Ecuyer's MRG32k3a generator** - Next by Date:
**Re: your implementation of L'Ecuyer's MRG32k3a generator** - Previous by thread:
**Re: your implementation of L'Ecuyer's MRG32k3a generator** - Next by thread:
**Re: your implementation of L'Ecuyer's MRG32k3a generator** - Index(es):