Password & Auth Tools100% Client-Side

Generate a MariaDB Native Test Hash

Paste a known test value to compute the legacy native password hash exposed by this page. The calculation applies SHA-1 twice, using the bytes of the first result in the second pass. Output begins with an asterisk and keeps the entire uppercase hex digest. This is useful when a compatibility fixture specifically names mysql_native_password and needs the same result as an older integration.

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

Password
Output

How to Use the MariaDB Native Password Hash Calculator

  1. 1Enter synthetic test text or use Load Sample to try the recorded example.
  2. 2Check that the output begins with an asterisk.
  3. 3Copy the full value, including the prefix and any initial zeroes after it.
  4. 4Compare the result against a reference that explicitly uses the native password format.

Input & Output Examples

The public input test matches the native option on the MySQL page.

Input Sample
test
Expected Output
*94BDCEBE19083CE2A1F959FD02F964C7AF4CFC29

This synthetic value includes a two-byte UTF-8 representation of é in the first hash.

Input Sample
Café
Expected Output
*D8B5B0F5BACF31B51DBB4A20A47CF87BC95E5567

Practical Developer Workflows

  • Check a MariaDB fixture designed to exercise the native plugin's format.
  • Compare the output with the native option on the MySQL page for the same text.
  • Record a compatibility value that includes accented text in its input.

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 MariaDB page uses the same native calculation as that option on the MySQL calculator. The same input bytes produce the same result. The old pre-4.1 MySQL option follows another calculation and has a different output shape.

Explore Other Tools

10 suggested tools

View all tools