Easily encrypt/decrypt bytes with password
Project description
About
Bytecript is a python package for easy data encryption / decryption with password.
Usage
# main.py
from bytecrypt.bytecrypt import encrypt_bytes
from bytecrypt.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.0.4.tar.gz
(3.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.0.4.tar.gz.
File metadata
- Download URL: bytecrypt-0.0.4.tar.gz
- Upload date:
- Size: 3.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 |
b804ce1caba51a3ff235d5423ab5e72cbe19e8d70bf1cb4ed88dcaedc364f396
|
|
| MD5 |
96fb0e10048aa301d013b7c039b4defa
|
|
| BLAKE2b-256 |
63fa1599c3ae226aa4eca7ce8cb480c4ff12ae8c21e333dea6f4d7f83358e95e
|
File details
Details for the file bytecrypt-0.0.4-py3-none-any.whl.
File metadata
- Download URL: bytecrypt-0.0.4-py3-none-any.whl
- Upload date:
- Size: 4.5 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 |
11828a2350b350d36c51d85703235e123471e0cd116817c2ecc6e1677c20c14f
|
|
| MD5 |
8ea5614b42a5bb2e38936b447b6a50c7
|
|
| BLAKE2b-256 |
26dac1db75b39d1994979806f32dc6c6c9deb088d94553aa1003460fd504a51c
|