Use secure random instead of random.