<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Again, random number generator in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/again-random-number-generator/m-p/2430487#M767910</link>
    <description>Hi,&lt;BR /&gt;&lt;BR /&gt;here a simple C program for creating random numbers:&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;&lt;BR /&gt;main()&lt;BR /&gt;{&lt;BR /&gt;  srandom(time(NULL));&lt;BR /&gt;  printf("%ld\n",random());&lt;BR /&gt;  exit(0);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Put the source ie. into /etc/random.c&lt;BR /&gt;Then compile:&lt;BR /&gt;cc /etc/random.c -o /etc/random&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Andrew&lt;/STDLIB.H&gt;</description>
    <pubDate>Tue, 25 Jul 2000 09:01:32 GMT</pubDate>
    <dc:creator>Andreas Voss</dc:creator>
    <dc:date>2000-07-25T09:01:32Z</dc:date>
    <item>
      <title>Again, random number generator</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/again-random-number-generator/m-p/2430485#M767908</link>
      <description>What I realy want is to install two perl modules for SSL communication. The attachment is i posted on other mailing lists.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Wed, 12 Jul 2000 20:23:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/again-random-number-generator/m-p/2430485#M767908</guid>
      <dc:creator>Yewen Tang</dc:creator>
      <dc:date>2000-07-12T20:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: Again, random number generator</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/again-random-number-generator/m-p/2430486#M767909</link>
      <description>It looks like SSLeay is using /dev/random to seed a random number&lt;BR /&gt;generator.  Are you sure you need it?  Have you tried just not&lt;BR /&gt;defining DEVRANDOM in the e_os.h?&lt;BR /&gt;If you really need the random number generator seeded than you&lt;BR /&gt;can modify crypto/rand/md5_rand.c to use something else as&lt;BR /&gt;a seed - maybe a call to time().&lt;BR /&gt;</description>
      <pubDate>Mon, 24 Jul 2000 22:24:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/again-random-number-generator/m-p/2430486#M767909</guid>
      <dc:creator>Chris Moore</dc:creator>
      <dc:date>2000-07-24T22:24:49Z</dc:date>
    </item>
    <item>
      <title>Re: Again, random number generator</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/again-random-number-generator/m-p/2430487#M767910</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;here a simple C program for creating random numbers:&lt;BR /&gt;#include &lt;STDLIB.H&gt;&lt;BR /&gt;&lt;BR /&gt;main()&lt;BR /&gt;{&lt;BR /&gt;  srandom(time(NULL));&lt;BR /&gt;  printf("%ld\n",random());&lt;BR /&gt;  exit(0);&lt;BR /&gt;}&lt;BR /&gt;&lt;BR /&gt;Put the source ie. into /etc/random.c&lt;BR /&gt;Then compile:&lt;BR /&gt;cc /etc/random.c -o /etc/random&lt;BR /&gt;&lt;BR /&gt;Hope this helps&lt;BR /&gt;&lt;BR /&gt;Andrew&lt;/STDLIB.H&gt;</description>
      <pubDate>Tue, 25 Jul 2000 09:01:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/again-random-number-generator/m-p/2430487#M767910</guid>
      <dc:creator>Andreas Voss</dc:creator>
      <dc:date>2000-07-25T09:01:32Z</dc:date>
    </item>
  </channel>
</rss>

