Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(3)  |  Call(1)  |  Derive(0)  |  Import(2)

src/s/c/scatterbytes-0.8.8/scatterbytes/chunk.py   scatterbytes(Download)
from . import util
from . import crypt
from .crypt import calc_file_hash
from .crypt import calc_file_crc32
from .errors import ChecksumError
            assert len(salt) == 4
        hash = calc_file_hash(
            self.file_path, salt=salt, return_type=return_type
        )
        logger.debug('hash for %s is %s' % (self.file_path, hash))

src/s/c/scatterbytes-0.8.8/scatterbytes/client/chunk.py   scatterbytes(Download)
from ..chunk import CHUNK_SIZE_MAX
from ..crypt import calc_file_crc32
from ..crypt import calc_file_hash
from ..errors import SBError
from ..errors import EncryptionError