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

Re: useful additional procedure for random bytes?



On Mon, Feb 18, 2002 at 01:21:08PM +0100, Bengt Kleberg wrote:
> greetings,
> 
> the srfi states that 'random-integer-generator is the only way to get
> random bits from a random generator'. since most cryptographical
> algorithms use not integers, but arrays of bytes, would it not be
> useful to also specify a procedure that generates this kind of random bits?
> 
> perhaps a list (of specified length), with integers 0-255 as items,
> would be the most versatile value of such a procedure.
> 
Or perhaps a string of bytes.  Many Scheme systems support binary data 
in this fashion.

	Scott

Attachment: pgpOcvAA9Ptg7.pgp
Description: PGP signature