Delta encryption for php and javascript ajax