lib/security/config.pm

strong_password

$security::config:strong_password;

This will return a strong, FIPS compliant password to be used, for example, during installation when setting the Common Criteria password on SLES 15-SP6+.