private String generateSeriesToken() {
byte[] newSeries = new byte[DEFAULT_SERIES_LENGTH];
random.nextBytes(newSeries);
Base64Encoder encoder = new Base64Encoder();
encoder.translate(newSeries);
return new String(encoder.getCharArray());
}
private String generateToken() {
byte[] newSeries = new byte[DEFAULT_TOKEN_LENGTH];