MySQL 9.6 Reference Manual Including MySQL NDB Cluster 9.6

7.5.8 Legacy Hashing Component

Note

Exploits for the MD5 and SHA-1 algorithms have become known. You may wish to consider using another one-way encryption algorithm instead, such as the SHA2() function. See Section 14.13, “Encryption and Compression Functions”.

The legacy hashing component calclulates an MD5 and SHA-1 checksum for the string.

For installation instructions, see Section 7.5.1, “Installing and Uninstalling Components”.

The component performs the following for the MD5 encryption algorithm:

The component performs the following for the SHA-1 encryption algorithm:

Keep in mind the following for the legacy hashing component: