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.3.tar.gz
(3.1 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.3.tar.gz.
File metadata
- Download URL: bytecrypt-0.0.3.tar.gz
- Upload date:
- Size: 3.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.1.1 CPython/3.11.4
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
11bd3b7bf0698310051e1c6f42eb7ac676790ffc86d3e51cd0b5e01c4b494e4d
|
|
| MD5 |
bb4eca44d89a76c704eb7271a2dc4b53
|
|
| BLAKE2b-256 |
08bab1065c9372438f004ec26e71fa6ded46f0997b4a867189e4e2c584090b31
|
File details
Details for the file bytecrypt-0.0.3-py3-none-any.whl.
File metadata
- Download URL: bytecrypt-0.0.3-py3-none-any.whl
- Upload date:
- Size: 4.2 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 |
81a1954b57addfb3e7c563e843216833581f48c0566a938097a4fd0971b96126
|
|
| MD5 |
b535b1bb84e3703d1b150eabf71ba680
|
|
| BLAKE2b-256 |
0bc5e59e456e545698ff63bcc580121dcf8f37833a3de02137526bfffc2d42f9
|