private static byte[] encrypt(byte[] serialized) {
byte[] value = serialized;
CipherService cipherService = new AesCipherService();
if (cipherService != null) {
ByteSource byteSource = cipherService.encrypt(serialized, Base64.decode("kPH+bIxk5D2deZiIxcaaaA=="));
value = byteSource.getBytes();
}
return value;
}
}