code: public static byte[] encrypt(byte[] input, String key, String algorithm, byte[] ivOrSalt, int iterations) throws PageException {
  	return crypt(input, key, algorithm, ivOrSalt, iterations, false);
      }
docs: an encrypt method that takes a byte-array for input and returns an encrypted byte-array