I am using BCRYPT to hash our user's passwords on the database and since the connection from the client might not always be secure, I want to refrain from sending it to the server plain-text upon authentication. We are using Java / Spring's BCRYPT implementation.
- Is there a way to compare two hashes for the same origin?
- If no (which probably is the case): what is the best workaround to achieve a similar security level.
Thanks for your suggestions.