pike.git / lib / modules / Crypto / randomness.pmod

version» Context lines:

pike.git/lib/modules/Crypto/randomness.pmod:1: - /* $Id: randomness.pmod,v 1.17 2000/09/26 18:59:31 hubbe Exp $ + /* $Id: randomness.pmod,v 1.18 2000/09/28 03:38:39 hubbe Exp $    */      //! module Crypto   //! submodule randomness   //! Assorted stronger or weaker randomnumber generators.      /* These devices tries to collect entropy from the environment.    * They differ in behaviour when they run low on entropy, /dev/random    * will block if it can't provide enough random bits, while /dev/urandom    * will degenerate into a reasonably strong pseudo random generator */    - #pike __VERSION__ + #pike __REAL_VERSION__      static constant RANDOM_DEVICE = "/dev/random";   static constant PRANDOM_DEVICE = "/dev/urandom";      /* Collect somewhat random data from the environment. Unfortunately,    * this is quite system dependent */   static constant PATH = "/usr/sbin:/usr/etc:/usr/bin/:/sbin/:/etc:/bin";      #ifndef __NT__   static constant SYSTEM_COMMANDS = ({