Modify Random to SecureRandom.