300301302303304305306307308309310
} private String encrypt(final String value) { if (_encoded) { final BeeDesEncrypter encrypter = new BeeDesEncrypter(SECRET); final String result = encrypter.encrypt(value); return result; } return value; }
170171172173174175176177178179180
} private String encrypt(final byte[] data, final String secret) { if(StringUtils.hasText(secret)){ final BeeDesEncrypter chipher = new BeeDesEncrypter(secret); return chipher.encrypt(data); } else { return BeeBase64.encodeBytes(data); } }