I've prepared a package of a Perl module wrapping the arc4random(3)
family of functions into ithreads-safe Perl functions and adding some
syntactic sugar. The libbsd package’s implementation of arc4random(3)
is used instead of the included convenience copy. This package makes
access to a self-seeding PRNG easy, for example in programmes that can
be extended by Perl plugins, such as irssi.