Password & Auth Tools100% Client-Side

Generate a MySQL Test Password Hash

Paste a test password to reproduce one of two legacy MySQL formats. The native option returns an asterisk followed by uppercase hex. The old pre-4.1 option returns a shorter hexadecimal value without that prefix. Use the page to compare public fixtures when maintaining an older integration, and confirm the format the source specifies before comparing the output or recording a new test value.

For legacy compatibility testing only. Use test credentials and prefer your database’s current authentication method for new accounts.

Configuration Options
Password
Output

How to Use the MySQL Legacy Password Hash Calculator

  1. 1Choose Native password or Old password from Legacy format.
  2. 2Use Load Sample or type the known test value into the masked input.
  3. 3Copy the complete result, retaining the asterisk when the native format includes it.
  4. 4Compare it with the same format in the compatibility fixture.

Input & Output Examples

Select Native password to get the asterisk-prefixed public example.

Input Sample
test
Expected Output
*94BDCEBE19083CE2A1F959FD02F964C7AF4CFC29

Select Old password. The historical calculation skips the spaces and tab in this test input.

Input Sample
t e	s t
Expected Output
378b243e220ca493

Practical Developer Workflows

  • Check whether a historical reference belongs to the native or pre-4.1 format.
  • Record the two legacy results for the same synthetic input when testing a migration.
  • Reproduce an old format fixture whose input contains spaces and tabs.

Zero Server Uploads & Complete Privacy

Runs 100% in your browser; no data is uploaded to any server.

Notice a bug, calculation error, or outdated info?

Let us know directly so our engineering team can fix it.

Frequently Asked Questions

The native result has an asterisk and forty uppercase hexadecimal digits. The older form is sixteen lowercase hexadecimal digits. A width check helps identify which result to compare, though the reference should still state the legacy format explicitly.

Explore Other Tools

10 suggested tools

View all tools