code: public String decrypt(String toDecrypt) throws DuraCloudRuntimeException {
          try {
              byte[] input = decodeBytes(toDecrypt);
              cipher.init(Cipher.DECRYPT_MODE, key);
              byte[] plainText = cipher.doFinal(input);
              return new String(plainText, "UTF-8");
          } catch (Exception e) {
              throw new DuraCloudRuntimeException(e);
          }
      }
docs: Provides decryption of a String encrypted using encrypt()