Some example code.

Paul Martin pm at simtec.co.uk
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.co.uk>
Simtec Electronics         Tel: +44 1772 978010
http://www.simtec.co.uk/   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: <http://lists.simtec.co.uk/pipermail/entropykey-users/attachments/20121102/842040eb/attachment.c>


More information about the EntropyKey-users mailing list