Utility Mill

Basic_Auth_Calculator

Calculators correct response to basic authentication challenge.


Output


Instructions / Discussion

Basic authentication is very simple and insecure. The correct challenge response is simply the base64-encoded string of "username:password", that is a string consisting of the username, a colon, and the password.

Base64 is reversible, so a simple base64-decode will produce the username:password string, and then the components are obvious. Digest authentication uses a shared-secret that is not transmitted in a decodable way, so it does not have this problem.

For this script, if you put the encoded form (the challenge response) in the "Authorization Line" it will decode it and print the username and password.

If the username and password lines are filled in, it will encode them to give the correct challenge response.

Utility Mill is another wonderful Blended Technologies project.

copyright, owned and operated by Blended Technologies LLC.

Powered by Python and the ineffable Web.py