Switches to MCRYPT_DEV_URANDOM for randomness.