@Override
    public byte[] getNewStringAsBytes(final int size) {
        val random = new byte[size];
        this.randomizer.nextBytes(random);
        return random;
    }
Instantiates a new default random string generator
with length set to {@link RandomStringGenerator#DEFAULT_LENGTH}.
core/cas-server-core-util-api/src/main/java/org/apereo/cas/util/gen/AbstractRandomStringGenerator.java