docs: public byte[] encrypt(byte[] data) {
  		lock.lock();
  		try {
  			if (null == this.params) {
  				cipher.init(Cipher.ENCRYPT_MODE, secretKey);
  			} else {
  				cipher.init(Cipher.ENCRYPT_MODE, secretKey, params);
  			}
  			return cipher.doFinal(data);
  		} catch (Exception e) {
  			throw new CryptoException(e);
  		} finally {
  			lock.unlock();
  		}
  	}