def calculate_file_checksum(path):
    hasher = hashlib.md5()
    with io.FileIO(path, 'r') as fp:
        while True:
            buf = fp.read(65536)
            if not buf:
                break
            hasher.update(buf)
    return hasher.hexdigest()
Load a PKCS12 object from a buffer
dataset/ETHPy150Open koenbok/Cactus/cactus/utils/file.py/calculate_file_checksum--crossover with--dataset/ETHPy150Open cloudera/hue/desktop/core/ext-py/pyopenssl/OpenSSL/crypto.py/load_pkcs12