Triple Pendulum based Chaos Generator
tp_chaos_generator is a package which provides a library for encrypting and decrypting data using a
triple-pendulum based chaos generator.
Requirements
- Python (>= 3.8)
Installation
You can install tp_chaos_generator with:
$ pip install -e .
Usage
>>> from tp_chaos_generator import chaos_generator, utils
>>> cg = chaos_generator.ChaosGenerator()
>>> key = cg.generate_key()
>>> text = utils.convert_to_bytes("A really secret message. Not for prying eyes.")
>>> tokens = cg.encrypt(text, key)
>>> tokens
'...'
>>> data = cg.decrypt(tokens, key)
>>> utils.convert_to_string(data)
'A really secret message. Not for prying eyes.'
Citation
If you find the code useful in your research, please consider citing:
@ARTICLE{9969592,
author = {Paul, Bikram and Pal, Souradip and Agrawal, Abhishek and Trivedi, Gaurav},
journal = {IEEE Access},
title = {Triple Pendulum Based Nonlinear Chaos Generator and its Applications in Cryptography},
year = {2022},
volume = {10},
pages = {127073-127093},
doi = {10.1109/ACCESS.2022.3226515}
}
FAQ
Please create a new issue.
Metadata
Release files for tp-chaos-generator 0.7.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 | |
|---|---|---|---|
| tp-chaos-generator-0.7.0.tar.gz | 10.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| tp_chaos_generator-0.7.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 20.8 kB
Release files / tp-chaos-generator-0.7.0.tar.gz
| Download URL | tp-chaos-generator-0.7.0.tar.gz |
|---|---|
| Size | 10.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a8a6c7ed901ab506be1cb7df874be56611ade440bb5ae5d115d194e7e504684e
|
|
BLAKE2b-256 checksum How to use checksums |
56c41a0ec3b88216617383f6db97df00ac08e9de87bc6345777288be3f92078d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|
Release files / tp_chaos_generator-0.7.0-py3-none-any.whl
| Download URL | tp_chaos_generator-0.7.0-py3-none-any.whl |
|---|---|
| Size | 10.2 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fcbe6068650c82c040bf46722ecacc3e605a7f60f1a05786e549e0f6f2ba4125
|
|
BLAKE2b-256 checksum How to use checksums |
97407f9ef88e818e28ff454033a63cd93d5b1bd49e0da6605f7528f616cdfb5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.13
|