This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
####################### header version 2019-04-03 #################### | |
import hashlib | |
import io | |
import os | |
import sys | |
import shutil | |
def sha256sum(src, digest_size_in_bytes=64, length=io.DEFAULT_BUFFER_SIZE): | |
if sys.hexversion <= 0x030500f0: | |
## digest_size not settable before Python 3.5 |