deedeecx330 / skyhookfilecrypt

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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.

About

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

License:GNU General Public License v3.0


Languages

Language:Python 100.0%