home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / sci / crypt / 4609 < prev    next >
Encoding:
Internet Message Format  |  1992-11-11  |  1.4 KB

  1. Path: sparky!uunet!utcsri!newsflash.concordia.ca!IRO.UMontreal.CA!CC.UMontreal.CA!sifon!thunder.mcrcim.mcgill.edu!sobeco!zap!unimtl!elevia!alain
  2. From: alain@elevia.uniforum.qc.ca (W.A.Simon)
  3. Newsgroups: sci.crypt
  4. Subject: Re: Simple hardware RNG
  5. Message-ID: <14090@elevia.uniforum.qc.ca>
  6. References: <1992Oct22.070717.28400@cs.aukuni.ac.nz> <5830006@hplsla.hp.com> <1992Nov1.225224.23220@qualcomm.com>
  7. Date: 11 Nov 92 08:01:11 EST
  8. Lines: 37
  9.  
  10. In <1992Nov1.225224.23220@qualcomm.com>
  11. karn@servo.qualcomm.com (Phil Karn)
  12. proposes:
  13.  
  14. > [ ... ] 
  15. > One of the exhibits was a "chaotic pendulum" consisting of several
  16. > [ ... ]
  17. > outcomes over time. Just the ticket for a good hardware random number
  18. > generator.
  19. > [ ... ]
  20.  
  21.     Practically, a software model, maybe...
  22.     But it could be found out.
  23.  
  24.     But what's wrong with this: /dev/faircoin
  25.  
  26.     A process spits out an uninterrompted
  27.     sequence of alternating 0s and 1s, to a
  28.     bit bucket.  It is the "fair coin"...
  29.     010101010101010101010101010101...
  30.  
  31.     Everytime a process needs a random bit, it
  32.     reads the character device.  The device
  33.     driver just taps the "fair coin" on the
  34.     shoulder, which the "fair coin" takes as a
  35.     request for a contribution.  It interrupts
  36.     its blissful occupation, turns its shlong
  37.     away from the bucket, aims it at the master
  38.     end of the device and squirts the next drop
  39.     of randomness: a "0" or a "1".  It then
  40.     blissfully resumes where it was interrupted.
  41.  
  42.  
  43.  
  44. --
  45.  Alain
  46.  [ ... usual disclaimer... ]
  47.