Deprecation: #94684 - GeneralUtility::shortMD5() 

See forge#94684

Description 

\TYPO3\CMS\Core\Utility\GeneralUtility\GeneralUtility::shortMD5() is a shorthand method to create an MD5 string trimmed to a defined length, by default 10 characters.

Such shortened checksums are highly susceptible to collisions, thus this method has been marked as deprecated.

Impact 

Calling \TYPO3\CMS\Core\Utility\GeneralUtility::shortMD5() will trigger a PHP E_USER_DEPRECATED error.

Affected Installations 

Any extension using \TYPO3\CMS\Core\Utility\GeneralUtility::shortMD5() is affected. The extension scanner will find usages of that method.

Migration 

Use the native md5() function to create checksums. In conjunction with substr() the old behavior can be recovered: substr(md5($string), 0, 10).

If checksums are stored in the database, adapt the respective ext_tables.sql file to use VARCHAR(32) for the affected database fields.