Skip to main content

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.

Project description


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.

Change log

[0.1.1] - 2021-09-26

  • Updated README

[0.1.0] - 2020-10-24

  • Updated README
  • Null Character in Decryption Fix

[0.0.9] - 2020-10-01

  • Updated README
  • Reverted Fix

[0.0.8] - 2020-10-01

  • Updated README
  • Minor Bug Fix

[0.0.7] - 2020-10-01

  • Updated README
  • Transposition stage made optional in Enyo

[0.0.6] - 2020-10-01

  • Updated README
  • Added Transposition stage in Enyo

[0.0.1] - 2020-09-15

  • Updated README
  • Added initial files for Enyo

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

enyo-0.1.1.tar.gz (7.2 kB view hashes)

Uploaded Source

Built Distribution

enyo-0.1.1-py3-none-any.whl (8.8 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page