I have to encrypt password form client side and decrypt it on server side. Then this decrypted password is passed through ldap. I get true or false in return as response. I cannot use MD5 as password cannot be retrieved form that. Is there any algorithm or api that can be used to encrypt and decrypt the same.
Asked
Active
Viewed 1,512 times
-1
-
Use SSL. Then everything is encrypted. – Jun 12 '15 at 05:25
-
I am using ssl. We have a guideline that with ssl I have to do encrypt the password also. – Gaurav Chaudhary Jun 12 '15 at 05:32
-
1Then challenge the guideline. Client-side encryptions is pretty pointless anyway. What's the point of encrypting something that's already encrypted? – Jun 12 '15 at 05:43
-
I will try to challenge the guideline. Hope it will work. But in the mean time want to find a work around. – Gaurav Chaudhary Jun 12 '15 at 06:15