* By default, files are hashed through md5 but other methods are available.
* Possible values are 'md5' and 'md5_outside'.
* With 'md5' option, the whole file is hashed through md5. This is the default.
- * With 'md5_outside', md5 is used to hash the first part of the file, the last part of the file
+ * With 'md5_outside', md5 is used to hash the first part of the file, the last part of the file.
+ * With 'random', file hash not set to a random value and file deduplication cannot work anymore but it is fast and safe.
* and the file's size. This method is fast for large files but cannot be perfect.
*/
$cfg['file_hash'] = 'md5';