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
enyoencryption
- Enyo Encryption moduleenyodecryption
- Enyo Decryption module
Python3 is required.
Open terminal
and execute:
pip install enyo
Open terminal
and execute:
git clone https://github.com/apratimshukla6/enyo.git
cd enyo
pip install --editable .
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)
SaSQpN
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)
test
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.
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.