code: @Override
  	protected String encrypt(final Cipher cipher, final SecretKey secretKey, final String input)
  			throws GeneralSecurityException {
  		byte[] crypted;
  		if (isUseIV()) {
  			cipher.init(Cipher.ENCRYPT_MODE, secretKey);
  		}
  		crypted = cipher.doFinal(input.getBytes(getCharset()));
  		if (isUseIV()) {
  			crypted = ArrayUtils.addAll(cipher.getIV(), crypted);
  		}
  		return Base64.getUrlEncoder().withoutPadding().encodeToString(crypted);
  	}
docs: {@inheritDoc}