Efficient hashing of multiple files
-
Low memory usage: reads each file one block at a time
-
Reads each file only once while running multiple algorithms, including MD5, SHA1, SHA256, SHA512, byte histogram, Shannon entropy
-
Uses worker threads to do multiple files at once
-
Provides a command line interface and a reusable object/module
usage: hasher [-h] [-t N] [--tab] FILENAME [FILENAME ...]
positional arguments:
FILENAME one or more files to hash
optional arguments:
-h, --help show this help message and exit
-t N, --threads N maximum number of threads (default: 8)
--tab tab separated
- The Case for Learning Python® for Malware Analysis, CloudShield Blog
Copyright © 2013 by Nick Jensen
This module is free software; you may redistribute it and/or modify it
under the terms of the GNU GPLv3.