A package for encryption and decryption of images, video, text, and audio
Project description
NSAencrypt
NSAencrypt is a Python package that provides functionalities for encryption and decryption of images, video, text, and audio.
Installation
You can install NSAencrypt using pip:
pip install NSAencrypt
Usage
Here's an example of how to use different functionalities provided by NSAencrypt:
Image Encryption and Decryption
from NSAencrypt.image import encrypt_image, decrypt_image
# Encrypt an image
encrypted_image_path = encrypt_image(r'path\to\your\image.png', 'your_key')
# Decrypt the encrypted image
decrypted_image_path = decrypt_image(encrypted_image_path, 'your_key')
Video Encryption and Decryption
from NSAencrypt.video import encrypt_video, decrypt_video
# Encrypt a video
encrypted_video_path = encrypt_video(r'path\to\your\video.mp4', 'your_key')
# Decrypt the encrypted video
decrypted_video_path = decrypt_video(encrypted_video_path, 'your_key')
Text Encryption and Decryption
from NSAencrypt.text import encrypt_text, decrypt_text
# Encrypt text
encrypted_text = encrypt_text("Your secret message")
# Decrypt the encrypted text
decrypted_text = decrypt_text(encrypted_text)
Audio Encryption and Decryption
from NSAencrypt.audio import encrypt_audio, decrypt_audio
# Encrypt an audio file
encrypted_audio_path = encrypt_audio(r'path\to\your\audio.mp3', 'your_key')
# Decrypt the encrypted audio file
decrypted_audio_path = decrypt_audio(encrypted_audio_path, 'your_key')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
NSAencrypt-1.0.0.tar.gz
(3.5 kB
view details)
File details
Details for the file NSAencrypt-1.0.0.tar.gz
.
File metadata
- Download URL: NSAencrypt-1.0.0.tar.gz
- Upload date:
- Size: 3.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.2
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 80b89883246da90ab3b56e881d15f371ec5f7fda6936b36c889ba175910cddbc |
|
MD5 | de94b9bbbe078ed7dd55220a4aa0ef14 |
|
BLAKE2b-256 | afe98a7a448fc610a3cf56a41385effe85b5cdf4093d2538342900274e07ea9d |