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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

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

Uploaded Python 3

File details

Details for the file enyo-0.1.1.tar.gz.

File metadata

  • Download URL: enyo-0.1.1.tar.gz
  • Upload date:
  • Size: 7.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for enyo-0.1.1.tar.gz
Algorithm Hash digest
SHA256 c8dc977a885d6f32f31898e7806c4dbeae9262787d8d26a14df6ba7b1ce8a045
MD5 8b3d182b19a772b9de650f93125c4933
BLAKE2b-256 6958d8d8d210c4f9c9eba13aa8b845e38976c1184d9e07345c6eb8358dc97303

See more details on using hashes here.

File details

Details for the file enyo-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: enyo-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 8.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.62.2 CPython/3.8.10

File hashes

Hashes for enyo-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 bb5f22214717540ced75ff765bce5748203d1861028ada7908be7f02defae434
MD5 242adb538c297770fe62a2bf1f69af4f
BLAKE2b-256 e066b9ee8a39e73e1c16051f06dcc835d0e82ef5bbafeede01cfb39b33dd992c

See more details on using hashes here.

Supported by

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