This will, some day, be the homepage of the arc4random(3) suite for non-MirBSD systems. The codes need to be rewritten anyway, and maybe unified with these for MirBSD. We currently have (these are CVSweb links and, as such, provide you with changelogs):
- mircvs://contrib/code/Snippets/arc4random.c (main supplementary file for non-MirBSD systems; suggested for use with mksh)
- mircvs://src/lib/libc/crypt/arc4random.c (code in MirBSD base, MirBSD specific)
- mircvs://contrib/hosted/tg/arc4rootdom.c (supplemental file providing arc4random_pushb(3) for Android and in FreeWRT assuming the executing user is root and can write to urandom(4)
- mircvs://contrib/hosted/tg/deb/klibc/arc4random.c (draft patch providing arc4random(3) API on top of linprocfs for klibc, using jrand48(3) instead of aRC4 as algorithm, for size reasons
There are also versioned downloads of the main arc4random.c file, for mksh(1) packagers' convenience.
See also
Debian package page for libbsd, which also provided arc4random(3) and friends
