Easily encrypt/decrypt bytes with password
Project description
About
Bytecrypt is a python package for easy data encryption / decryption with password.
Usage
# main.py
from bytecrypt import encrypt_bytes
from bytecrypt import decrypt_bytes
encrypted_data = encrypt_bytes(b"secret", b"password")
decrypted_data = decrypt_bytes(encrypted_data, b"password")
print("\nEncrypted data: " + str(encrypted_data.decode("utf-8")))
print("\nDecrypted data: " + str(decrypted_data.decode("utf-8")))
$ python main.py
Encrypted data: gAAAAABnO7wzHm-WLv-s_fQgHRe_-0Al_CmzUU7XfZcRaRSBXbLy1j8Z97KhiY8nZbaHETyKSO_NuGQH1f73MMs58nrT7pxWJg==
Decrypted data: secret
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
bytecrypt-0.1.0.tar.gz
(4.4 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file bytecrypt-0.1.0.tar.gz.
File metadata
- Download URL: bytecrypt-0.1.0.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
12e976be8ec49447f7a88caccb4af22385fe4169f332043e0491882d177bf719
|
|
| MD5 |
c3a42944d97d6c8bcfdaa7b3079b0825
|
|
| BLAKE2b-256 |
5bc109831f72302bafdccb8c0fb158337b4d54332527a118c12c88748a57f572
|
File details
Details for the file bytecrypt-0.1.0-py3-none-any.whl.
File metadata
- Download URL: bytecrypt-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
040bf1b02ab003f4509b63edfa72795c664add68ab811d77a73e616dc29cb06f
|
|
| MD5 |
55a6f82442bf5170c2eb7ee7a8b9e3f5
|
|
| BLAKE2b-256 |
00c5285f72509aa7700daeb1f7997f76bbb7cac07abfb6fff46322b2c7495e58
|