I've following situation:
I've a password input on my page and a button. When the user enters his password and presses the submit button, a JavaScript function get's called:
function deleteAccount() {
    var password = jQuery('#password');
    .....
}
Within this function I do an AJAX request to my backend. All works great but I'm not that happy with sending the readable password over my AJAX function. So I'm looking for a way to strangify or twist the password before the submit.
Important is, that I need to re-strangify the password again within PHP:
$password = $_POST['p'];
So do you know a good and fast way to do this?
