Deprecation: #94684 - GeneralUtility::shortMD5()
See forge#94684
Description
\TYPO3\
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\
will trigger a
PHP
E_
error.
Affected Installations
Any extension using
\TYPO3\
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
.
If checksums are stored in the database, adapt the respective
ext_
file to use
VARCHAR
for the affected database
fields.