> > I wondered about just doing $((RANDOM+RANDOM)) but don't know the > > pros and cons of that approach - it's not exactly arc4random_uniform.. > > I wanted to stay in the spirit of portability. RANDOM is a ksh > extension and difficult to check for reliably.
Well... openssl is an extension. It is not standardized. /dev/*random is an extension. It is not standardized. Any way of getting random data is an extension. Of course it isn't a conspiracy. After all, random is hard. And you wouldn't want to do it wrong, so it is better to not do it at all!
