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 bytestring passphrase to encrypt/decrypt the file with

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.4.tar.gz (2.7 kB view details)

Uploaded Source

File details

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

File metadata

  • Download URL: skyhookfilecrypt-1.4.tar.gz
  • Upload date:
  • Size: 2.7 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.4.tar.gz
Algorithm Hash digest
SHA256 290285a3f260c3a7d29bd7d47e6f593e6ef5543dbec9905f606744b6196ad36a
MD5 20bfea6b713db4a910e597e9f47191fd
BLAKE2b-256 fd72155cd2c95b92b85d0a10d0afb885bbc3ceec31d8a62208a2ba05e431a451

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