ID EN
Encryption and Compression Functions

VALIDATE_PASSWORD_STRENGTH(str)

MySQL 8.4

Given an argument representing a plaintext password, this function returns an integer to indicate how strong the password is, or NULL if the argument is NULL. The return value ranges from 0 (weak) to 100 (strong).