Partition, encrypt, decrypt, and reassemble files.
Project description
chop -> encrypt -> (?) -> decrypt -> merge
Choppy partitions files and encrypts using symmetric authenticated cryptography. After decryption, embedded metadata provides for the original input file to be recreated and verified.
selectable number of partitions and randomized file size
secure cryptographic key/password input or via file
sequential numeric or randomized file names
encrypted file chunks can have name and extension altered with no detriment to recreating input file
chunks from multiple files can be located within the same directory and the merge command will locate and reassemble original input files
Installation
Using pip:
pip install choppy
Without pip - clone repository:
python setup.py install
Command Line Usage
See Usage for advanced use and expanded options.
generate cryptographic key file (key.txt)
choppy gen -k
create 10 partitions of infile.txt, randomize partition size by 50% and encrypt with key file
choppy chop infile.txt -n 10 -w 50 --use-key -i key.txt
decrypt partitions and merge to reassemble original file
choppy merge *.chp.* --use-key -i key.txt
Requirements
Python 3.6 or greater
cryptography 2.1.3
License
choppy is released under the BSD 2-clause license. See LICENSE for details.
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
File details
Details for the file choppy-0.0.5.tar.gz
.
File metadata
- Download URL: choppy-0.0.5.tar.gz
- Upload date:
- Size: 16.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 98956aa6944efc24826ce65ab9c17d0d99b033e99e4d6cef7c81267bcc0a4e1b |
|
MD5 | 135bf0c94515bc5312b5c1cff3699f78 |
|
BLAKE2b-256 | 7b7aca27fdfd842282edb1ca8e889da5969e069d4bd9c8fed761d99c183713e9 |