I am new to web development, i want to know how to hash the data traveling in URL. i have done this so far.
$(document).ready(function () {
var budget;
var guest;
$('#budgetbtn').click(function () {
var guest = $("#totalguests").val();
var budget = $("#budgetamount").val();
if (budget >= 500000 && guest >= 100 && guest <= 500) {
$('#myModal').modal('hide');
$('body').removeClass('modal-open');
$('.modal-backdrop').remove();
$('#totalguests').val("");
$('#budgetamount').val("");
window.location = "Eventtype.aspx?budget="+budget+"&guest= "+guest;
//window.location = "Eventtype.aspx?budget=" + budget;
//window.location = "Eventtype.aspx?guest=" + guest;
}
I want to hash those two values i.e budget and number of guest so that user could not make changes to these values. Kindly help me out with this.