Module ncine.hash64
Utility methods to calculate a 64bit hash from strings or files
Functions
ncine.timestamp.hash_string (string) | Returns a hash number by hashing all characters of the given string |
ncine.timestamp.hash_file_stat (filepath) | Returns a hash number by hashing the date, size, and name of the given file |
ncine.timestamp.scan_hash_string (string) | Returns a hash number by scanning a hash string |
Functions
- ncine.timestamp.hash_string (string)
-
Returns a hash number by hashing all characters of the given string
Parameters:
- string string
Returns:
-
integer
- ncine.timestamp.hash_file_stat (filepath)
-
Returns a hash number by hashing the date, size, and name of the given file
Parameters:
- filepath string
Returns:
-
integer
- ncine.timestamp.scan_hash_string (string)
-
Returns a hash number by scanning a hash string
Parameters:
- string string
Returns:
-
integer