Passwords are hashed by using an algorithm to take in your password and generating a completely different string of character that represents the password.
BCrypt is a Slow but strong method to protech passwords. It is an adaptive hash function that uses Key Stretching to make brute force attacks slower and to help minimize the impact.
I would use BCrypt because it is extremely resistant to brute force attacks.
Basic Authentication is a method used by a web browser to provide a username and apssword. It is the simplest way to enforce access controls to web resources.
Authorization: Basic <credentials>
where the credentials ID and Password joined by a single colon, encoded withBase64
username:password
in Basic Auth encoded?
It is encoded using
Base64
Authentication is an application’s way of verifying that a user is who they say they are.
Responds need to be done in a generic manner.