Developments in data encryption and compression techniques