removing ::rand() shitism, use arc4random_buf instead

ok deoliveira