use urandom(4), not arandom(4), to be more portable