- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Again, random number generator
Operating System - HP-UX
1753490
Members
5125
Online
108794
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-12-2000 01:23 PM
тАО07-12-2000 01:23 PM
Again, random number generator
What I realy want is to install two perl modules for SSL communication. The attachment is i posted on other mailing lists.
Thanks
Thanks
random number generater
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-24-2000 03:24 PM
тАО07-24-2000 03:24 PM
Re: Again, random number generator
It looks like SSLeay is using /dev/random to seed a random number
generator. Are you sure you need it? Have you tried just not
defining DEVRANDOM in the e_os.h?
If you really need the random number generator seeded than you
can modify crypto/rand/md5_rand.c to use something else as
a seed - maybe a call to time().
generator. Are you sure you need it? Have you tried just not
defining DEVRANDOM in the e_os.h?
If you really need the random number generator seeded than you
can modify crypto/rand/md5_rand.c to use something else as
a seed - maybe a call to time().
Just because it's magic doesn't mean it's easy.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-25-2000 02:01 AM
тАО07-25-2000 02:01 AM
Re: Again, random number generator
Hi,
here a simple C program for creating random numbers:
#include
main()
{
srandom(time(NULL));
printf("%ld\n",random());
exit(0);
}
Put the source ie. into /etc/random.c
Then compile:
cc /etc/random.c -o /etc/random
Hope this helps
Andrew
here a simple C program for creating random numbers:
#include
main()
{
srandom(time(NULL));
printf("%ld\n",random());
exit(0);
}
Put the source ie. into /etc/random.c
Then compile:
cc /etc/random.c -o /etc/random
Hope this helps
Andrew
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP