Skip to main content

bb84_crypto

I developed this package for crypto messagaing

it's easy to use. You would just need to install the package between your partner and go on :)

pip install bb84_crypto
from bb84_crypto import bb84_protocol, encrypt_message, decrypt_message

Here, generate a secret key using BB84 and share it with your partner

key = bb84_protocol(n=128)

Then, write your message and encrypt it, then also can be decrypted

message = "Hi Bob! Wassuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuup ?"
encrypted = encrypt_message(message, key)
decrypted = decrypt_message(encrypted, key)

Of course you would need to print the magic

print(f"Decrypted: {decrypted}")
Hi Bob! Wassuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuup ?

Metadata

Release files for bb84-crypto 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for bb84-crypto 1.0.0
File Size Uploaded Provenance
bb84_crypto-1.0.0.tar.gz 3.1 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for bb84-crypto 1.0.0
File Interpreter ABI Platform
bb84_crypto-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 6.6 kB

Release files / bb84_crypto-1.0.0.tar.gz

Download URL bb84_crypto-1.0.0.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
cb7e28d4f3e792725a6a4c69d26f12a024819154bb034982de16ce1c82784f33
BLAKE2b-256 checksum
How to use checksums
35dc4df21f38392caffe4f8edc3de653b20787e4c1296d9fd8ca49579a46f0c8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Release files / bb84_crypto-1.0.0-py3-none-any.whl

Download URL bb84_crypto-1.0.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
77c9bf38331bee18be9a0375f709b1b28d7b758f928884d6dda9658769a6c45e
BLAKE2b-256 checksum
How to use checksums
4e1161781a52b8557e2a1c85ac87c202673640c35b3c51e1e9ce118a633b8ed2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.2

Security for bb84-crypto 1.0.0

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.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page