changes made to SendPostRequest and Encription classes