Ability to serialize java object to byte array added to encryption module.