Re: Equivalent of get_random_bytes?
Re: Equivalent of get_random_bytes?
- Subject: Re: Equivalent of get_random_bytes?
- From: Michael Smith <email@hidden>
- Date: Thu, 19 Apr 2007 12:45:35 -0700
is there an equivalent for Linux' get_random_bytes (1) other than
reading /dev/random on darwin?
If you are inside the kernel, the BSD symbolset exports read_random()
in <sys/random.h>.
In userspace, just read from /dev/random.
= Mike
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden