WORKED CASE · SYNTHETIC TEST DATA
Check the bytes behind a Basic authorization header
A recognizable test pair helps distinguish encoding errors from server authentication failures. Use synthetic credentials, never a production password.
Input and settings
Username: Aladdin
Password: open sesameRun and interpret
Enter the username and password in separate fields. The encoded text is Aladdin:open sesame, including one colon between the fields.
Expected output
Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==Scope and possible misuse
Base64 is reversible, not encryption. Use HTTPS. Non-ASCII credentials use UTF-8 and require server support; username colons and control characters are rejected.