I am using angular for login & signup and encrypting the password with the crypto-js and the password is also getting encrypted from backend side(here the encrypted key of crypto-js is getting encrypted by backend(Java) and stored in database).
Now the question is how i match the password for login(because whenever i am logging in it's showing httpStatus= BAD_REQUEST, description= password not matched) ? is there any frontend angular method to decrypt the string of backend ? or any other solutions ?
I have tried multiple ways to encrypt the password same as available in the backend, but failed !