Installing
You can easily install cryptostream with pip:
pip install cryptostream
Motivation
Imagine two companies A and B. Company B is building drones and writing software for drones. Company A wants to use those drones. The drone saves log files onboard. If the drone crashes or any other accident happens, this log file gives us information about what went wrong. However, this causes several issues: Company A could manipulate those log files, especially if they know that the crash is their own mistake. A simple solution would be to stream the log files to company B, for example via LTE. This, however, causes another type of problem: Privacy. If company A does not want company B to know the contents of the log files, except for rare occasions like accidents, we encrypt the data so that company B can only decode the logs if company A gives them the private key.
Examples
cd examples
python generate-keys.py
python encrypt-and-decrypt.py
Metadata
Release files for cryptostream 0.1.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| cryptostream-0.1.0.tar.gz | 2.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| cryptostream-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 5.2 kB
Release files / cryptostream-0.1.0.tar.gz
| Download URL | cryptostream-0.1.0.tar.gz |
|---|---|
| Size | 2.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
df11da99ec151af0210b67cb7913ce1a9e71537c2ed23778abfe5effbb00c230
|
|
BLAKE2b-256 checksum How to use checksums |
4671de33cc15ed89bae572922b074971c99299a8154ed07a8af7ba5c89360a4e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2
|
Release files / cryptostream-0.1.0-py3-none-any.whl
| Download URL | cryptostream-0.1.0-py3-none-any.whl |
|---|---|
| Size | 2.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1779f68116420c483cf88915e6d939801a852192819d3109edae7c24efe85e3b
|
|
BLAKE2b-256 checksum How to use checksums |
edc0a2646b9c63aac8d1f3f626344ea81aaaae76d8f4389b699ddd9a48c0792e
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/1.11.0 pkginfo/1.4.2 requests/2.18.4 setuptools/39.2.0 requests-toolbelt/0.8.0 tqdm/4.23.4 CPython/3.5.2
|