Right yeah actually the secret code kept in the html file is never sent as plain text only the hash of the randomly generated number and secret code is so even if a packet sniffer gets hold of the hash it wouldn't do them any good because that hash is only valid for that session and linked to the clients original ip address. The SHA1 algorithm is a 160-bit one-way encryption and is more secure than MD5.
|