[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nmh-workers] Message-IDs and Content-IDs
From: |
Ken Hornstein |
Subject: |
Re: [Nmh-workers] Message-IDs and Content-IDs |
Date: |
Thu, 19 Jul 2012 14:19:33 -0400 |
>> Would /dev/urandom suffice?
>
>Sure. But for portability's sake, the code should read 4 bytes from
>/dev/random to seed srand() (fallback to (time XOR pid) or something
>similar if /dev/random can't be opened), then call rand() to supply
>however many bytes you want to use.
Dumb question time: Do we want to introduce a dependency on /dev/random?
Looks like most people have it now.
--Ken
- [Nmh-workers] Message-IDs and Content-IDs, David Levine, 2012/07/18
- Re: [Nmh-workers] Message-IDs and Content-IDs, Tom Lane, 2012/07/18
- Re: [Nmh-workers] Message-IDs and Content-IDs, Lyndon Nerenberg, 2012/07/18
- Re: [Nmh-workers] Message-IDs and Content-IDs, Ralph Corderoy, 2012/07/19
- Re: [Nmh-workers] Message-IDs and Content-IDs, Lyndon Nerenberg, 2012/07/19
- Re: [Nmh-workers] Message-IDs and Content-IDs,
Ken Hornstein <=
- Re: [Nmh-workers] Message-IDs and Content-IDs, valdis . kletnieks, 2012/07/19
- Re: [Nmh-workers] Message-IDs and Content-IDs, Ken Hornstein, 2012/07/19
- Re: [Nmh-workers] Message-IDs and Content-IDs, Tom Lane, 2012/07/19
- Re: [Nmh-workers] Message-IDs and Content-IDs, Lyndon Nerenberg, 2012/07/19
- Re: [Nmh-workers] Message-IDs and Content-IDs, Lyndon Nerenberg, 2012/07/19