I\'m developing website where user submit credentials using ajax,php and using POST method and i want to protect login credentials not in plain text but i don\'t want to use
Using SSL without a certificate should be possible. Makes you vulnerable to a man-in-the-middle-attack but encrypts the transferred data.