//Prompt for password
if (password == null || password.isEmpty())
throw new MojoFailureException("No password entered");
String encryptedBase64String = encrypter.encrypt(password);
//Add our magic around the raw data
String fullString = "{[type=native]" + encryptedBase64String + "}";
//And display the result to the user