React help needed(encyrypting a password)

Hi @mraees93,

From your question, I assume you trying to say that whenever you make request to server from react using axios, the server receives the data and process the data(hashing pass) and then save it into mongodb.
But when you send back user details from server to react , u console the response then you see the unhashed instead of hashed password in response.
Right ?

If yes, then I think you are just sending wrong response from route.

something probably in your post register route.
Would you mind sharing your console.log as well as route code ?

Hope this helps,
Abhishek