using OS X 10.6 supported arc4random