Answer the question
In order to leave comments, you need to log in
Is it safe to send passwords to the server?
Hello. The bottom line is that the project is without a budget at all (I am a team leader, a designer and a programmer, and a little bit more an artist :) ) so the budget does not allow buying an ssl certificate) I use the usual http 1.0.
Sending a password goes like this:
Client part:
We get the password from the input, then immediately create the sha512 hash
Then I send the password hash and login with Ajax.
On the server side I do something like this
$data->post_gson('data');
$json = $data->result();
$login = $json->login;
$password = $json->pass;
$pass = new pass;
$salt = $pass->salt();
$data = $password.$login.$salt.$password;
$password = $pass->sha512($data);
$password = $pass->gost($password);
$password = $pass->joaat($password);
$password = $pass->ripemd320($password);
$password = $pass->tiger192_4($password);
$password = $pass->whirlpool($password);
$password = $pass->crc32b($password);
qazxswedcvfrtgbnhyujmkiolp%^*()_+-=/\][{}1234567$890QAZXSWEDCVFRTGBNHYUJMKIOLP
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question