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 hashes)

Uploaded Source

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