MEnDec
Python package for Message ENcryption and DEcryption
Install
pip install mendec
Usage
Generate the secret key piar
> python -m mendec keygen --bits 384 SECRET_KEY
Extract first key
> python -m mendec pick SECRET_KEY 1 KEY1
Extract second key
> python -m mendec pick SECRET_KEY 2 KEY2
Using the first key encrypt a message to CYPHER file
> printf 'Attack at Noon' | python -m mendec encrypt KEY1 - CYPHER
Using the second key decrypt the message
> python -m mendec decrypt KEY2 - < CYPHER
Attack at Noon
Using the second key encrypt the message, then the first key to decrypt the message
> printf Acknowledge | python -m mendec encrypt KEY2 | python -m mendec decrypt KEY1
Acknowledge
Metadata
Release files for mendec 1.0.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| mendec-1.0.1.tar.gz | 20.0 kB | Without provenance | Details for mendec-1.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| mendec-1.0.1-py3-none-any.whl | Python 3 | none | any | Details for mendec-1.0.1-py3-none-any.whl |
Total release size: 40.4 kB
Release files / mendec-1.0.1.tar.gz
| Download URL | mendec-1.0.1.tar.gz |
|---|---|
| Size | 20.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0460839551bf4526fbfb9eb888f6f6f02070b08cd4eebb0a7183dae5b4f5bceb
|
|
BLAKE2b-256 checksum How to use checksums |
3f5b9d51f4392b99d6a4187b25a5d4e600bb7f4d9cd28b6f5f6d556fac20d3e9
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / mendec-1.0.1-py3-none-any.whl
| Download URL | mendec-1.0.1-py3-none-any.whl |
|---|---|
| Size | 20.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b1b8058500bafded6cc3c3ba1312f19d3c828970f2869e07b3a0581cbf58c050
|
|
BLAKE2b-256 checksum How to use checksums |
60440fc62ddca1eea1d1d76e3bb121f012098ba6bcf1a5077038b6da30128986
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for mendec 1.0.1
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.