'fileSize' => $fileTemporary->fileSize,
'fileHash' => $fileTemporary->fileHash,
'fileExtension' => File::getSafeFileExtension($mimeType, $fileTemporary->filename),
- 'secret' => \bin2hex(\random_bytes(10)),
+ 'secret' => \bin2hex(\random_bytes(16)),
'objectTypeID' => $fileTemporary->objectTypeID,
'mimeType' => $mimeType,
'width' => $width,
fileSize BIGINT NOT NULL,
fileHash CHAR(64) NOT NULL,
fileExtension VARCHAR(10) NOT NULL,
- secret CHAR(20) NOT NULL,
+ secret CHAR(32) NOT NULL,
objectTypeID INT,
mimeType VARCHAR(255) NOT NULL,
width INT,