Install

Works with Drupal: ^8 || ^9

Using Composer to manage Drupal site dependencies

Alternative installation files

Download tar.gz 19.3 KB
MD5: dd315b36234e4c571cab7fa55cc31bf6
SHA-1: c12effdf5861f19da9a0bb851f266b5dce4ee074
SHA-256: 864dae824e11c12e2d54ef058db69de4bc9c76fea3c9cc387b3f37c88cf6d65c
Download zip 31.09 KB
MD5: ac0c99be2c68490b1fa2c85e66753beb
SHA-1: f27e853cc75c270c446f87dec3fd43a52d1253d0
SHA-256: 9d3a548692f2f00490df232b0addc470023f83eac7aa6914c3c971f82d42823b

Release notes

  • Increase error logging if file cannot be opened for reading (previously this was silently ignored); ensure hash value is NULL if hashing fails.
  • #3088648: Add SHA-512 to list of available hashing algorithms: Add support for the SHA-224, SHA-384, SHA-512/224, SHA-512/256, SHA-512, SHA3-224, SHA3-256, SHA3-384 and SHA3-512 hash algorithms (previously only MD5, SHA-1 and SHA-256 were supported). Of these, SHA-512/256 is best in terms of performance on typical hardware and security against attacks.
  • #3259960: Support BLAKE2b hash algorithm: Add support for the BLAKE2b-128, BLAKE2b-160, BLAKE2b-224, BLAKE2b-256, BLAKE2b-384 and BLAKE2b-512 hash algorithms (RFC 7693), which offer superior performance on typical hardware. BLAKE2b-512 is the default option generated by the b2sum command-line utility. These hash algorithms require the Sodium PHP extension (or paragonie/sodium_compat package).
  • Add "Clean up" UI at admin/config/media/filehash/clean and drush filehash:clean command to remove disabled hash algorithm database columns; e.g. if the MD5 algorithm is not enabled, the md5 column will be dropped from the filehash table.
Created by: mfb
Created on: 25 Jan 2022 at 03:18 UTC
Last updated: 27 Jan 2022 at 20:15 UTC
New features

Other releases