Skip to content

Enyo is a lightweight multistage partition based encryption algorithm.

License

Notifications You must be signed in to change notification settings

mayanktolani19/enyo

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation


enyo


PyPi version Python Package Test format LICENSE Downloads Downloads/week Contributions

About

Enyo is a lightweight multistage partition-based encryption algorithm. Enyo cipher demonstrates good resistance to a brute-force attack. It is well suited for small-scale applications where the computational power is a bottleneck.

  • Combines the performance of primitive ciphers with enhanced security
  • Custom encoding ensures URL safe encryption
  • Transposition stage for additional security

Modules

  • enyoencryption - Enyo Encryption module
  • enyodecryption - Enyo Decryption module

Installation

Python3 is required.

Open terminal and execute:

pip install enyo

Development Installation

Open terminal and execute:

git clone https://github.com/apratimshukla6/enyo.git
cd enyo
pip install --editable .

Example Usage

Encryption

from enyo.enyoencryption import EnyoEncryption
# Third parameter is an optional integer for partition (by default 2), the fourth parameter is optional Boolean for transposition (default False)
test = EnyoEncryption("test", "secretkey", partition=2, transposition=True)

# To print the encrypted text
print(test.encrypted)
Output
SaSQpN

Decryption

from enyo.enyodecryption import EnyoDecryption
# Third parameter is an optional integer for partition (by default 2), the fourth parameter is optional Boolean for transposition (default False)
test = EnyoDecryption("SaSQpN", "secretkey", partition=2, transposition=True)

# To print the decrypted text
print(test.decrypted)
Output
test

Links

Contributing

Before creating an issue, please ensure that it hasn't already been reported/suggested.

The issue tracker is only for bug reports and enhancement suggestions. If you have a question, please ask it in the Discord server instead of opening an issue – you will get redirected there anyway.

If you wish to contribute to the Enyo codebase or documentation, feel free to fork the repository and submit a pull request.

Help

If you don't understand something in the documentation, you are experiencing problems, or you just need a gentle nudge in the right direction, please don't hesitate to join our Discord Server.

About

Enyo is a lightweight multistage partition based encryption algorithm.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%