Coder Social home page Coder Social logo

souradipp76 / tp_chaos_generator Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 204 KB

A library for encryption and decryption using a triple-pendulum based chaos generator

Home Page: https://pypi.org/project/tp-chaos-generator

License: MIT License

Makefile 0.83% Python 97.70% Shell 1.48%
chaos cryptography triple-pendulum non-linear-dynamics

tp_chaos_generator's Introduction

CI Build

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:

    $ python -m 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.'

Test

You can test tp_chaos_generator with:

    $ pytest

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.

tp_chaos_generator's People

Contributors

dependabot[bot] avatar souradipp76 avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.