No project description provided
Project description
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.
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
tp-chaos-generator-0.4.0.tar.gz
(10.2 kB
view hashes)
Built Distribution
Close
Hashes for tp_chaos_generator-0.4.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9cddc5e0547880e1e5ac1aed17010835842e69e114cf63ca73721f380fb011dd |
|
MD5 | 5d5b1beb14c1fcef18d4f3a6fa43b929 |
|
BLAKE2b-256 | 45512f4b9b1f065c647fc3bf3c1587728c43c0cee41ea5fc5cfb5262189cecd0 |