in src/java/org/apache/fulcrum/jce/crypto/CryptoUtil.java [164:172]
public String encryptString(CryptoStreamFactory factory, String plainText, char[] password, boolean withClearCode)
throws GeneralSecurityException, IOException {
ByteArrayOutputStream baos = new ByteArrayOutputStream();
encrypt(factory, plainText, baos, password);
String prefix = (withClearCode)? (this instanceof CryptoUtilJ8)?
((CryptoStreamFactoryJ8Template)((CryptoUtilJ8)this).getCryptoStreamFactory()).getType().getClearCode()
: CryptoParametersJ8.CLEAR_CODE_DEFAULT: "";
return prefix + HexConverter.toString(baos.toByteArray());
}