--- filefield_stats.module.old	2010-04-03 15:03:57.000000000 -0500
+++ filefield_stats.module	2010-08-31 10:14:33.614722697 -0500
@@ -156,7 +156,12 @@
  * imploding them into a string and returning the md5 of the string.
  */
 function filefield_stats_hash($args = array()) {
-  return md5(implode(':', array_merge($args, array(drupal_get_private_key()))));
+  $data['hash'] = md5(implode(':', array_merge($args, array(drupal_get_private_key()))));
+  $data['args'] = $args;  
+  
+  drupal_alter('filefield_stats_hash', $data);
+  
+  return $data['hash'];
 }
 
 
