String beginText = String.format(CrypterIOHelper.BEGIN_SECRET_KEY_TEMPLATE, crypter.getAlgorithm());
String endText = String.format(CrypterIOHelper.END_SECREY_KEY_TEMPLATE, crypter.getAlgorithm());
CrypterIOHelper.writeKey(beginText, endText, keyBytes, outputStream);
} catch (IOException e) {
throw new CrypterException(e);
}
}