	Document doc = db.parse(new ByteArrayInputStream(DATA.getBytes("UTF8")));
	NodeList dataToEncrypt = doc.getElementsByTagName("user");

	XMLCipher dataCipher = XMLCipher.getInstance(XMLCipher.TRIPLEDES);
	dataCipher.init(XMLCipher.ENCRYPT_MODE, secretKey);

	for (int i = 0; i < dataToEncrypt.getLength(); i++) {
    	    dataCipher.doFinal(doc,(Element) dataToEncrypt.item(i), true);
	}

	// Check that user content has been removed
	Element user = (Element) dataToEncrypt.item(0);
        Node child = user.getFirstChild();