You are here

function filehash_names in File Hash 7

Same name and namespace in other branches
  1. 8 filehash.module \filehash_names()

Returns array of human-readable hash algorithm names.

6 calls to filehash_names()
filehash_field_formatter_settings_form in ./filehash.module
Implements hook_field_formatter_settings_form().
filehash_field_formatter_settings_summary in ./filehash.module
Implements hook_field_formatter_settings_summary().
filehash_settings in ./filehash.admin.inc
Builds the File Hash settings form.
filehash_token_info in ./filehash.tokens.inc
Implements hook_token_info().
filehash_views_data in ./filehash.views.inc
Implements hook_views_data().

... See full list

File

./filehash.module, line 120
Generate hashes for each uploaded file.

Code

function filehash_names() {
  return array(
    'md5' => 'MD5',
    'sha1' => 'SHA-1',
    'sha256' => 'SHA-256',
  );
}