Some example code.

Paul Martin pm at
Fri Nov 2 21:22:58 GMT 2012

I was looking into a customer query earlier today, and came up with
the following which might be useful to people.

It's crude, but it demonstrates how you might transform entropy from a
byte source into random integers between 0 and n-1.

Paul Martin <pm at>
Simtec Electronics         Tel: +44 1772 978010   Fax: +44 1772 816426
-------------- next part --------------
A non-text attachment was scrubbed...
Name: random.c
Type: text/x-csrc
Size: 4850 bytes
Desc: not available
URL: <>

More information about the EntropyKey-users mailing list