Skip to main content

Multithreaded file encryption and decryption module extracted from Skyhook

Project description

skyhookfilecrypt

Multithreaded file encryption and decryption module extracted from Skyhook: https://github.com/deedeecx330/skyhook

Designed to be both fast and easy on the resources.

Usage

The module has two functions, encryptFile and decryptFile. The function arguments in both cases are:

  • File that is to be encrypted/decrypted
  • Output file where encrypted/decrypted contents will be saved to
  • A passphrase to encrypt/decrypt the file with (Can be any primitive data type)

For example

skyhookfilecrypt.encryptFile("file.in", "file.out", b"password")

will encrypt file.in with the given password and write the encrypted contents of file.in to file.out. Same principle works for decrypting files:

skyhookfilecrypt.decryptFile("file.in", "file.out", b"password")

will decrypt file.in with the given password and write the decrypted contents to file.out.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

skyhookfilecrypt-1.3.tar.gz (2.8 kB view details)

Uploaded Source

File details

Details for the file skyhookfilecrypt-1.3.tar.gz.

File metadata

  • Download URL: skyhookfilecrypt-1.3.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.6.0 requests-toolbelt/0.9.1 tqdm/4.48.0 CPython/3.8.5

File hashes

Hashes for skyhookfilecrypt-1.3.tar.gz
Algorithm Hash digest
SHA256 eec2b76eaa85f008a695aa9e59b38336ae5b407b0f5b0e26aa4685733a6ec3d0
MD5 3ea421957c58b7a10843ee282c3438e9
BLAKE2b-256 9e43887e11290d0ae8c56ba6b3a103ce4fd49a47c4ce51e7df82d89275b19de4

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page