Skip to main content

A package for encrypting and decrypting text and image files

Project description

File Manipulation

File Manipulation is a Python package that provides utilities for encrypting and decrypting both text and image files.

Installation

You can install File Manipulation via pip:

pip install file-manipulation

Features

Text File Encryption and Decryption

You can encrypt and decrypt text files using the following functions:

from file_manipulation import encrypt_textfile, decrypt_textfile

# Encrypt a text file
encrypt_textfile('input.txt', 'encrypted.txt')

# Decrypt a text file
decrypt_textfile('encrypted.txt', 'decrypted.txt')

Image File Encryption and Decryption

File Manipulation also supports encryption and decryption of image files:

from file_manipulation import encrypt_imagefile, decrypt_imagefile

# Encrypt an image file
encrypt_imagefile('input.jpg', 'encrypted.txt')

# Decrypt an image file
decrypt_imagefile('encrypted.txt', 'decrypted.jpg')

Usage

Command Line Interface

File Manipulation provides command-line interfaces (CLI) for performing encryption and decryption directly from the terminal.

To encrypt a text file:

file-manipulation-encrypt input.txt encrypted.txt

To decrypt a text file:

file-manipulation-decrypt encrypted.txt decrypted.txt

To encrypt an image file:

file-manipulation-encrypt-image input.jpg encrypted.txt

To decrypt an image file:

file-manipulation-decrypt-image encrypted.txt decrypted.jpg

License

This project is licensed under the MIT License - see the LICENSE file for details.


This README.md provides an overview of your package, installation instructions, features, usage examples, and license information. Feel free to further customize it to include more details about your package or any additional functionalities.

Project details


Release history Release notifications | RSS feed

This version

1.0

Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

Encrypt_decrypt_tfi-1.0-py3-none-any.whl (4.8 kB view details)

Uploaded Python 3

File details

Details for the file Encrypt_decrypt_tfi-1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for Encrypt_decrypt_tfi-1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 949b062e71d6333d80511c982125f396751323cb42409661433d0cfd6f179348
MD5 a1bbabba3f24b4b62ad3f202e894a711
BLAKE2b-256 9d4629f952ea70c1ef13c890d0397908a914e1d7fe2cc2dc6890a5bcfa3142a3

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