The EntX encryption library for python.
Project description
EntX - The Python Encryption Library
How to create an encryption client with password stored as an environment variable:
import os
import entx
client = entx.Client(os.environ["password"])
How to encrypt a string
import os
import entx
client = entx.Client(os.environ["password"])
to_encrypt = "This will be encrypted"
encrypted = client.encrypt(to_encrypt)
How to decrypt a string
import os
import entx
client = entx.Client(os.environ["password"])
to_decrypt = "This will be decrypted"
encrypted = client.decrypt(to_decrypt)
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
entx-1.0.0.tar.gz
(5.6 MB
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
entx-1.0.0-py3-none-any.whl
(3.1 kB
view details)
File details
Details for the file entx-1.0.0.tar.gz.
File metadata
- Download URL: entx-1.0.0.tar.gz
- Upload date:
- Size: 5.6 MB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
945a5eaad7442bc77eaafdcad3b8faf07c5e8610d6e0d4bd12f22f392b5769ed
|
|
| MD5 |
ccd169cb49f4c78c50f58f83858261db
|
|
| BLAKE2b-256 |
8258c6c4852bc7d3de6f805883aed8a060780d990933736358855231407d3faf
|
File details
Details for the file entx-1.0.0-py3-none-any.whl.
File metadata
- Download URL: entx-1.0.0-py3-none-any.whl
- Upload date:
- Size: 3.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
be09ded73e5bd7eaf1adc75536c1d6947d33e6ab175212441b6eee7467f7e466
|
|
| MD5 |
1c4f407d249b65eeb7cd14a85ee11514
|
|
| BLAKE2b-256 |
f46ac39c14dc596ae88537189ef5cdaa74f485c763dd995ad3d5013f1ca4c44a
|