iblutil.io.hashfile
File hashing functions Uses hashlib to perform either md5 or sha1 hashing in a memory controlled manner, with a progress bar for larger files.
Functions
Computes blake2b hash in a memory reasoned way blake2b_hash = hashfile.blake2b(file_path) |
|
Computes md5 hash in a memory reasoned way md5_hash = hashfile.md5(file_path) |
|
Computes sha1 hash in a memory reasoned way sha1_hash = hashfile.sha1(file_path) |
- blake2b(file_path, *args, **kwargs)[source]
Computes blake2b hash in a memory reasoned way blake2b_hash = hashfile.blake2b(file_path)