Removed deprecated encrypted function